module can't be installed in Django virtual environment

前提是你 提交于 2019-12-11 21:52:18

问题


I used pip install django-celeryand pip3 install django-celery in Pycharm.

After that I use import djcelery,but Pycharm reminds me no module named djcelery.

Then I used pip list I can see django-celery 3.2.2 in the list.

But when I went to virtual environment path myenv/lib/site-packages where I can see all the module or app that I have installed such as django-pure-pagination.But I can't find django-celery there.

Any friend has any idea, how to fix it?


回答1:


Seems like you've installed django-celery in another environment. Try to install it with PyCharm:

  • File > Settings > Project > Project Interpreter.


来源:https://stackoverflow.com/questions/50993171/module-cant-be-installed-in-django-virtual-environment

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