How to leave/exit/deactivate a Python virtualenv

前端 未结 13 1569
春和景丽
春和景丽 2020-11-27 08:42

I\'m using virtualenv and the virtualenvwrapper. I can switch between virtualenv\'s just fine using the workon command.

me@mymachine:~$ workon          


        
13条回答
  •  -上瘾入骨i
    2020-11-27 09:17

    I found that when within a Miniconda3 environment I had to run:

    conda deactivate
    

    Neither deactivate nor source deactivate worked for me.

提交回复
热议问题