Skip to content

"Please install the missing version" after adding new Python version in new project #54

Answered by cho-m
BillyUdders asked this question in Q&A
Discussion options

You must be logged in to vote

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 over virtualenv in 2.21.0: https://github.com/direnv/direnv/blob/master/CHANGELOG.md#stdlib

layout_python: prefer venv over virtualenv. Do not export VIRUAL_ENV if $python_version is unavailable or a virtual environment does not exist/can't be created

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jfly
Comment options

jfly Mar 31, 2022
Collaborator

Answer selected by jfly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #54 on December 14, 2020 14:44.