Home >Backend Development >Python Tutorial >What are the differences between conda install and pip install?
Difference: pip is a universal manager of Python packages; conda is a language-independent cross-platform environment manager. pip installs python packages in any environment; conda needs to be installed to install any package in the conda environment.
The difference between conda install XXX and pip install XXX
conda is a general package management system. To build and manage any type of software in any language. Therefore, it also works with Python packages.
Pip stands for Pip Installs Packages and is Python’s officially recognized package manager, most commonly used to install packages published on the Python Package Index (PyPI).
pip is a universal manager of Python packages; conda is a language-independent cross-platform environment manager.
For users, the most significant difference may be this:
pip installs python packages in any environment; conda installation installs any packages in the conda environment.
When using the conda install package, it is installed in the root environment by default. (From the Internet)
conda installs the package in the specified environment:
$conda install -n env_name pandas
Activate the virtual environment
$source activate env_name
Launch the virtual environment
$source deactivate env_name
Open multiple terminal shortcuts Key (ios)
$command +T
Recommended learning: Python video tutorial
The above is the detailed content of What are the differences between conda install and pip install?. For more information, please follow other related articles on the PHP Chinese website!