-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not work with pyenv #145
Comments
I dont use pyenv very often so it's very possible that I missed this bug. I'll try reproduce this bug and get back to you. If I'm having trouble reproducing the issue I might ask if you could provide me a minimal |
+1 here - would excellent to have a pyenv addition here |
I'm using it with pyenv as well. I have other issues (not related to pyenv) but the env always does auto activate properly. |
So I've started using pyenv quite regularly and cant seem to reproduce the issue. Does someone have a minimal zshrc I can use to try debug the issue? |
I have the problem, that the selected Python version with pyenv will not be used. |
@MichaelAquilina The problem seems to be in these lines: zsh-autoswitch-virtualenv/autoswitch_virtualenv.plugin.zsh Lines 340 to 344 in daac7f7
This plugin uses the Fallback to the Adding some optional parameters to call the This requires some trade-offs. |
After using it for a few weeks, I found that there is no need to modify the code of the plugin itself. Just make sure to use the
|
Issue Details
I'm having trouble getting this to work with pyenv. Though everything works generally, when I open a new window in an existing directory (shown as
~/Desktop/tmp
in GIF), the env doesn't seem to be loading properly (see GIF below).Operating System (uname -a)
Darwin CSchillebeeckx-0589.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
zsh version (zsh --version)
zsh 5.7.1 (x86_64-apple-darwin19.0)
autoswitch-virtualenv version
3.1.0
How is zsh-autoswitch-virtualenv installed?
Steps to reproduce the issue
Using pyenv 1.2.21
The text was updated successfully, but these errors were encountered: