> For the complete documentation index, see [llms.txt](https://theshank.gitbook.io/ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theshank.gitbook.io/ai/python-tricks-and-tips/packages/pip.md).

# 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$`
