Home  >  Article  >  Backend Development  >  What are the differences between conda install and pip install?

What are the differences between conda install and pip install?

青灯夜游
青灯夜游Original
2020-08-29 11:47:0224981browse

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.

What are the differences between conda install and pip install?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn