とらりもんHOME  Index  Search  Changes  Login

とらりもん - pip Diff

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

[[https://ja.wikipedia.org/wiki/Pip]]

!pip and pip3

* You should use "pip3" for python 3. Just "pip" may work for python 2.
* You should never upgrade pip or pip3. Upgrading cause hazards!

!pip3 and sudo pip3

* If you use sudo for pip3, the packages will be installed in /usr/local/
* If you use pip3 without sudo, the packages will be installed in ~/.local/
* You should put --user in case you do not use sudo.

!Useful functios of pip3
* pip3 list ... show packages already installed
* pip3 show something  ... show details of the package "something"
* pip3 uninstall something ... uninstall the package "something"