とらりもんHOME  Index  Search  Changes  Login

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"
Last modified:2020/02/11 15:26:31
Keyword(s):
References: