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

What are the differences between conda install and pip install?

青灯夜游
Release: 2020-08-29 11:47:02
Original
25141 people have browsed it

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
Copy after login

Activate the virtual environment

$source activate env_name
Copy after login

Launch the virtual environment

$source deactivate env_name
Copy after login

Open multiple terminal shortcuts Key (ios)

$command +T
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template