Where does pip install its packages?

后端 未结 7 1688
野的像风
野的像风 2020-12-02 03:52

I activated a virtualenv which has pip installed. I did

pip3 install Django==1.8

and Django successf

7条回答
  •  一整个雨季
    2020-12-02 04:22

    By default, on Linux, Pip installs packages to /usr/local/lib/python2.7/dist-packages.

    Using virtualenv or --user during install will change this default location. If you use pip show make sure you are using the right user or else pip may not see the packages you are referencing.

提交回复
热议问题