pyenv-virtualenv icon indicating copy to clipboard operation
pyenv-virtualenv copied to clipboard

`$ pyenv deactivate` not work after `$ pyenv shell`

Open YumaInaura opened this issue 6 years ago • 3 comments

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

YumaInaura avatar Jul 11 '18 00:07 YumaInaura

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

blueyed avatar Aug 23 '18 19:08 blueyed

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

skywickenden avatar Feb 02 '19 11:02 skywickenden

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

YumaInaura avatar Feb 02 '19 11:02 YumaInaura