How to leave/exit/deactivate a Python virtualenv

前端 未结 13 1570
春和景丽
春和景丽 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条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 09:13

    Use deactivate.

    (my_env) user@user:~/my_env$ deactivate
    user@user-Lenovo-E40-80:~/my_env$ 
    

    Note, (my_env) is gone.

提交回复
热议问题