pip and conda common commands

  First, pip and conda command is not all the same, and some libraries can only use pip install, conda equipment can not be understood as conda supported library is a small part of pip inside (I have come across conda can be installed, pip the situation can not install, probably anaconda warehouse library just have this, and I do not know specifically)

pip command

Installation Library: PIP install the library name

              pip install the version number of the library name =

    pip install -i domestic mirror source library name

Offline installation libraries: the command line to enter the file path, then pip install ...... whl

 Such as the installation pygraphviz

         

Uninstall: PIP Uninstall library name

Lists the installed base: PIP List

Lists need to be updated library : pip list --outdated

Upgrade library: PIP install --upgrade library name

Upgrade PIP : PIP PIP install -U

Version pip: pip -V

python version: PIP -V

 

conda command
Installation Library: Conda install the library name
Update library : conda update library name
Update all libraries :
conda update --all

 

Guess you like

Origin www.cnblogs.com/ZhangStudy/p/12527521.html