Pyenv-virtualenv: `$ pyenv deactivate` not work after `$ pyenv shell`

Created on 11 Jul 2018  路  3Comments  路  Source: pyenv/pyenv-virtualenv

after

$ pyenv shell [virtualenv_name]

deactivate command not work.

$ pyenv deactivate

( I found bellow command but wanna use above)

$ pyenv shell system

env

  • pyenv-virtualenv 1.1.3 (virtualenv unknown)
  • pyenv 1.2.5
  • CentOS release 6.9 (Final)
  • Docker version 18.03.1-ce, build 9ee9f40
  • Mac OSX 10.12.6

Most helpful comment

deactivate is only meant to work after activate I guess.
Try using pyenv activate in the first step.

All 3 comments

deactivate is only meant to work after activate I guess.
Try using pyenv activate in the first step.

pyenv deactivate doesn't work for me even if I activate with pyenv activate. pyenv shell system does work, so thanks @YumaInaura

@blueyed @skywickenden thank answers and sorry late reply mine...! 馃檶 it was so helpful.

Was this page helpful?
0 / 5 - 0 ratings