Deactivate a pipenv environment

前端 未结 5 522
情歌与酒
情歌与酒 2021-02-01 16:03

How can I deactivate my pipenv environment?

With other tools I\'ve been able to do something like source deactivate, but that has no affect here.

C

5条回答
  •  梦毁少年i
    2021-02-01 16:28

    Using the shell command exit also works.

    This worked for me when using deactivate still left me with the error:

    Shell for UNKNOWN_VIRTUAL_ENVIRONMENT already activated.
    No action taken to avoid nested environments.
    

    After using exit I could successfully switch pipenv instances. This could well be a bug and I should probably report it.

提交回复
热议问题