You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm currently trying to create an extension to create a jupyter kernel from newly installed versions and virtualenvs. I've got the hooks working on install, and I'd like to remove the kernel on uninstall. I tried the following in my uninstall hook:
which works great when I uninstall a regular python version, but not when I uninstall a virtualenv. When I run PYENV_DEBUG=true pyenv uninstall test it looks like pyenv-virtualenv/etc/pyenv.d/uninstall/envs.bash takes over while loading the hooks and never returns back to pyenv-uninstall to run its before and after hooks.
Should I be doing something different, or is there a way that pyenv-virtualenv could return back control to pyenv-uninstall?
The text was updated successfully, but these errors were encountered:
aiguofer
added a commit
to aiguofer/pyenv-virtualenv
that referenced
this issue
Jul 21, 2019
Hi, I'm currently trying to create an extension to create a jupyter kernel from newly installed versions and virtualenvs. I've got the hooks working on install, and I'd like to remove the kernel on uninstall. I tried the following in my uninstall hook:
which works great when I uninstall a regular python version, but not when I uninstall a
virtualenv
. When I runPYENV_DEBUG=true pyenv uninstall test
it looks likepyenv-virtualenv/etc/pyenv.d/uninstall/envs.bash
takes over while loading the hooks and never returns back topyenv-uninstall
to run its before and after hooks.Should I be doing something different, or is there a way that
pyenv-virtualenv
could return back control topyenv-uninstall
?The text was updated successfully, but these errors were encountered: