Uncategorized

Created a virtual environment in the wrong python version : Forums : PythonAnywhere


I know this has been asked before, but past answers do not seem to work for me. So, I initially created a virtual environment in the wrong version, 3.4. Then I tried to remove it, but it would not allow me to, so I deactivated it and reloaded it with the 3.7 version.

However, pythonanywhere does not recognize this. Get this error: ‘This virtualenv seems to have the wrong Python version (3.4 instead of 3.7).’

How do I fix this issue. If I try to remove it with (rmvirtualenv), I get this error: ERROR: You cannot remove the active environment (‘mysite-virtualenv’). Either switch to another environment, or run ‘deactivate’.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *