user2225970
user2225970

Reputation:

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.

Upvotes: 0

Views: 3018

Answers (1)

hardythe1
hardythe1

Reputation: 104

Make sure you executed pip install requests in your virtual env.

Upvotes: 1

Related Questions