web123456

Where is the default location of the package downloaded through pip

Recently, I need to use pip to download some packages for Python, but I found that I can't import them in pycharm after downloading.

I discovered later on Baidu that the default path for pip download is:

C:\Users\(Own username)\AppData\Roaming\Python\Python35\site-packages

So we just need to move all the downloaded files to the default loading path of your corresponding python version:

C:\ProgramData\Anaconda3\envs\py35\Lib\site-packages

This path may be different for everyone. I first downloaded Anaconda3 (corresponding to python3.7 version) and then downloaded python3.5, so this is the path.

In short, the path must be:py+version number\Lib\site-packages