On Thursday 01 June 2017 15:03:34 F. Nikita Thomas wrote:
> Here's the directory listing for my virtual environment:
> (projectenv) [user@echo project]$ ls -al projectenv/bin/

More important is projectenv/lib/site-packages.
But the test to do as James pointed out is to test if your virtualenv is 
correct. I'm 
missing the line where uwsgi tells you it detected a "PEP 405 virtualenv".
So, from /home/user/env/project/, with the virtual env activated:

python manage.py check

If that can't import django either, show an ls of above mentioned site-packages.

If it does work, try starting uwsgi from a different terminal tab, where the 
virtual 
environment is not activated.
If you run into "can't find settings", add --env 
DJANGO_SETTINGS_MODULE=project.settings

-- 
Melvyn Sopacua

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2029946.9iZgSZ1Fv4%40devstation.
For more options, visit https://groups.google.com/d/optout.

Reply via email to