Pip

When you install some python package using :

  • sudo apt install python3-$package_name$ then the package will be installed in /usr/lib/python3/dist-packages/$package_name$

  • sudo pip3 install $package_name$ then the package will be installed in /usr/local/lib/python3.6/dist-packages/numpy/

  • pip3 install $package_name$, then the package will be installed in /home/$user$/.local/lib/python3.6/site-packages/$package_name$

Last updated