Where is Pip3 Installing Modules?

风格不统一 提交于 2019-12-03 06:43:28
Zartch

Normally pip 3 install on python3 dist-packages

You can always use pip with:

python3 -m pip install package

to check if you are experiencing troubles with another python3 installation

ls /usr/local/lib | grep python

But the easy way to not experiment this headache is by using virtual environments

I think you have installed django outside virtual environment. download virtual environment by

pip install virtualenv
virtualenv your_env

Activate virtual environment.

source your_env/bin/activate

Then, Install django in your virtual environment.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!