0
votes

I installed a django-secure into a virtualenv using pip. The install was normal. The module shows up in the virtualenv pip list and in virtualenvs/dev/lib/python2.7/site-packages. I get the following error when running my code.

ImportError: No module named djangosecure

The folder is in there and there is an init. No install issues. What am I doing wrong and how do I fix it?

1
Are you running your code in a virtual environment?Bioto
I just figured out that my wsgi file was pointed to the wrong virtualenv. Sometiems it the simple things...user4107395

1 Answers

0
votes

Make sure your wsgi file points to the right virtualenv!