I'm confused as to where I should put my virtualenvs.
With my first django project, I created the project with the command
django-admin.py startproject djangoproject
I then cd'd into the djangoproject directory and ran the command
virtualenv env
which created the virtual environment directory at the same level as the inner djangoproject
directory.
Is this the wrong place in which to create the virtualenv for this particular project?
I'm getting the impression that most people keep all their virtualenvs together in an entirely different directory, e.g. ~/virtualenvs
, and then use virtualenvwrapper to switch back and forth between them.
Is there a correct way to do this?
%USERPROFILE%\AppData\Local\mypythonenvs`
. For example I create%USERPROFILE%\AppData\Local\mypythonenvs\python3-qiskit
for a Qiskit env. This way I don't have to worry about forgetting path after 2 months. – Leverrier