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

Posted November 29, 2019 3.9k 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.

Submit an Answer
1 answer


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:

Let me know how it goes!

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...