Skip to content
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

Scorphish displays wrong Python version when using pyenv #7

Open
bjoernpollex opened this issue Nov 20, 2018 · 1 comment
Open

Scorphish displays wrong Python version when using pyenv #7

bjoernpollex opened this issue Nov 20, 2018 · 1 comment

Comments

@bjoernpollex
Copy link

When using pyenv with a local Python version configured (using a .python-version file), Scorphish will display the wrong Python version, because it uses a cashed value, and no virtual environment is active. A simple way to fix it is to simply compute the Python version every time, without caching, but I'm not sure if the performance hit is generally acceptable (it works for me).

@scorphus
Copy link
Member

scorphus commented Jan 1, 2019

Thanks for reporting. There may be a flag to turn caching of. But I personally prefer a fast prompt – hence the caching. So I'll think of all possible ways do invalidate the cache in this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants