Forums

No virtualenv detected despite I have one

Hi. I am setting up my Django app on pythonanywhere. I created a venv and added it to the venv path without any errors. After setting up and installing all libraries, when I reloaded the webapp, it showed me the error

> Warning: No virtualenv detected at this path. Do you need to create it?

The venv file is still present in the directory /home/fumax/project

If it's giving you that error, then the directory that you are pointing it to is not a virtualenv directory. Make sure that you are pointing it at a virtualenv directory and not, perhaps, the directory that contains the virtualenv directory.