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
No comments:
Post a Comment