I am trying to remove an old virtual env from a django project and just create a new one from the beginning. However, I am concerned if it is okay to just delete the venv folder through my windows file explorer. I have researched online, but I couldn’t find a suitable and clear answer to this question. Thank you, and please leave a comment if you have any questions.
>Solution :
Just back up packages and their versions before you delete your virtual environment.
I suggest you to:
pip freeze > requirements.txt
Delete your virtual environment.
After creating a new one:
pip install -r requirements.txt
Sometimes it is a big problem to lose package versions. In terms of compatibility