Python’s pip installation module
View the Python installation directory:
where python command under window
Command whereis python under linux
View the module installation list:
Check how many packages pip has installed pip list
Check the module installation path:
After using pip to install the package, just execute the command pip install xx again, and the installation path will be displayed.
For example: After pip install jupyter is installed, enter pip install jupyter again and the path where this package has been installed will be displayed.
It can be seen that the jupyter package is installed under C:\Users\xin\AppData\Local\Programs\Python\Python35\Lib\site-packages. Enter the folder to view.
It is indeed here. And I discovered a big secret: it turns out that all packages installed through pip are in this directory.
Please remember this path: C:\Users\Users\AppData\Local\Programs\Python\Python35\Lib\site-packages
The above is the detailed content of Where is the pip python library installed?. For more information, please follow other related articles on the PHP Chinese website!