asdf-python
asdf-python copied to clipboard
asdf cannot find pip in python 3.10.4
- did
asdf reshim
- set local python to
3.10.4
-
asdf list python
works - python version is correct
-
asdf exec
shows correct pip version - however,
No preset version installed for command pip
log
^^/R/e/diffalarm >>> asdf reshim (126) (*minimal+1) 18:00:01
^^/R/e/diffalarm >>> asdf list python (*minimal+1) 18:00:12
3.10.4
3.11.0rc2
3.6.15
3.6.7
3.7.9
^^/R/e/diffalarm >>> asdf local python 3.10.4
^^/R/e/diffalarm >>> python -c "print('Hello World!')"
Hello World!
^^/R/e/diffalarm >>> pip (*minimal+1) 18:00:41
No preset version installed for command pip
Please install a version by running one of the following:
asdf install python 3.10.4
or add one of the following versions in your config file at /home/scarf/Repo/etc/diffalarm/.tool-versions
python 3.11.0rc2
python 3.6.15
python 3.6.7
python 3.7.9
^^/R/e/diffalarm >>> asdf exec python3 -m pip --version
pip 22.2.2 from /home/scarf/.local/lib/python3.10/site-packages/pip (python 3.10)
^^/R/e/diffalarm >>> python --version (*minimal+1) 18:01:15
Python 3.10.4
``
Thank you for reporting this! I have the same issue which, by the way, seems related to the whole 3.10.x series, since even version 3.10.0 installed by asdf python plugin has the same bug/anomaly.
same here, back to 3.9.15 for now
I found the solution (in my case) with the related issue , where I run this command to install the pip asdf exec python -m pip install -U pip
(this works for me).
The mentioned issue was created in Jan 18. This is a very old problem.
I've got the same issue here, i'm trying to use latest version (current 3.11.2)
The same, but with python 3.9.2 !
I have the same problem with python 3.10.6
FYI: Now I'm using https://github.com/asdf-community/asdf-direnv to get rid of that stupid reshim
.