Where should virtualenvs be created?

前端 未结 5 1259
情深已故
情深已故 2020-11-28 01:31

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 startproj         


        
5条回答
  •  难免孤独
    2020-11-28 02:10

    From my personal experience, I would recommend to organize all virtual environments in one single directory. Unless someone has extremely sharp memory and can remember files/folders scattered across file system. Not a big fan of using other tools just to mange virtual environments. In VSCode if I configure(python.venvPath) directory containing all virtual environments, it can automatically recognize all of them.

提交回复
热议问题