Where does pip install packages?

You may wonder which directory pip installs a package to. For example,

pip install pymupdf

Where does pip install the package pymupdf?

Suppose your python is installed in C:\Python. You will find a sub-directory Scripts under that directory. This is where pip resides, but not the location it installs a package to. There is another sub-directory Lib(not libs). There are lots of sub-directories in Lib, most of them are system libraries python ships, but the sub-directory site-packages is where pip installs packages. For example, the above command will generate two sub-directories under C:\Python\Lib\site-packages\, namely, pymupdf and pymupdf-1.28.0.dist-info. The packages are also called third-party libs.

Did you like this?
Tip admin with Cryptocurrency

Donate Bitcoin to admin

Scan to Donate Bitcoin to admin
Scan the QR code or copy the address below into your wallet to send some bitcoin:

Donate Bitcoin Cash to admin

Scan to Donate Bitcoin Cash to admin
Scan the QR code or copy the address below into your wallet to send bitcoin:

Donate Ethereum to admin

Scan to Donate Ethereum to admin
Scan the QR code or copy the address below into your wallet to send some Ether:

Donate Litecoin to admin

Scan to Donate Litecoin to admin
Scan the QR code or copy the address below into your wallet to send some Litecoin:

Donate Monero to admin

Scan to Donate Monero to admin
Scan the QR code or copy the address below into your wallet to send some Monero:

Donate ZCash to admin

Scan to Donate ZCash to admin
Scan the QR code or copy the address below into your wallet to send some ZCash:

Leave a Reply