In my Django project, I run this command to run the project on localhost:
python manage.py runserver
This results in an error:
Importerror: No module named memcache
However, I have already fulfilled this requirement with: sudo apt-get install python-memcache
In particular, if I go into the python shell outside my virtualevn and try import memcache
, it works fine. However, inside my virtualenv, if I go into the python shell and try import memcache
, I get the same import error as above. What's happening?
source share