"Please install the missing version" after adding new Python version in new project #54
-
Description I've been using asdf-direnv for a few weeks in a Python project that uses Python 3.6. Python version has been installed with
I tried reinstalling the plugin because I installed one version of Python before installing the asdf-direnv plugin and one after but nothing seems to have changed. OSX and stuff: MacOS Catalina Full error message, after calling asdf exec direnv allow .envrc:
.envrc file:
direnvrc
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Two things to check: Try without the line |
Beta Was this translation helpful? Give feedback.
-
You probably already resolved this since it has been a while, but I'll note that If you upgraded direnv from 2.20.0 to a newer version, I think the issue should have gone away since direnv switched to prioritize stdlib
|
Beta Was this translation helpful? Give feedback.
You probably already resolved this since it has been a while, but I'll note that
virtualenv
is a pip-installed Python package accessible via asdf shim and the error message is saying that the package isn't installed for your Python 3.8.3.If you upgraded direnv from 2.20.0 to a newer version, I think the issue should have gone away since direnv switched to prioritize stdlib
venv
overvirtualenv
in 2.21.0: https://github.com/direnv/direnv/blob/master/CHANGELOG.md#stdlib