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

November 29, 2019 194 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
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...
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!