Question

Error: Python Home is not a directory: /root/Env/venv/

Posted November 29, 2019 1.8k views
Ubuntu 16.04

I am deploying my django application using uwsgi and nginx and after checking status i am getting 2 errors !!! Python Home is not a directory: /root/Env/venv/ !!! and !!! no internal routing support, rebuild with pcre support !!!

edited by AHA

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

This sounds like that there is an issue with your virtual environment. What I could suggest here is following this guide on how to serve your Django application with uwsgi and Nginx:

https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04

Let me know how it goes!
Regards,
Bobby

by Justin Ellingwood
Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly production related, a more secure and powerful web server...
Submit an Answer