I had created and activated virtualenv and worked on my Django Project. Now scene is that i've Reinstall my Windows 10. Now when i tried to enter my env e.g. workon DFMS I face following error...
'workon' is not recognized as an internal or external command,operable program or batch file.
Or When i tried to run server using python manage.py runserver i face following issue...
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
My Question is how to activate that old virtualenv for that project? and how to resolve this problem? Thank You.
pip3 install virtualenv2. in your project dir establish venvpython3 -m venv venv3. assuming your have a requirements.txt install your project packagessource venv\bin\activate; pip3 install -r requirements.txt- Rob Raymond