简体   繁体   中英

Import Error - No module named requests - Django

I have problem with Django 1.8.2 on virtualenv with Python 2.7

i installed requests with pip install requests successfully. I'm able to start python and import requests - it is working.

But when i start my django app in venv with uwsgi - when i enter website i see error:

ImportError at /pobieraniebot/
No module named requests

When Django app is working in the same virtual environment as i run python.

确保在虚拟环境中执行了pip install requests

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM