Open bgs113 opened 2 years ago
same here, pip
is just not available in 3.10.2:
❯ asdf shim-versions pip
python 2.7.17
python 3.8.1
python 3.8.0
python 3.7.7
python 3.9.7
according to python itself, it's there:
❯ asdf exec python3 -m ensurepip
Looking in links: /tmp/tmpjnfez1qa
Requirement already satisfied: setuptools in ./.asdf/installs/python/3.10.2/lib/python3.10/site-packages (58.1.0)
Requirement already satisfied: pip in ./.local/lib/python3.10/site-packages (22.0.3)
however, this works:
❯ asdf exec python3 -m pip install homeassistant-cli
@bgs113 @lwille Did you solve it?
It doesn't seem to be a problem in 3.11, so upgrading was my solution.
After upgrading to python
latest
(3.10.2), I cannot usepip
. Instead, I receive the following error:Python 3.10.2 is the current version set globally, and I confirmed
pip
is set up with this installation:I attempted running
asdf reshim python
, and I also removed$HOME/.asdf/shims
and ranasdf reshim
, but this hasn't resolved the issue. Additionally, I have reproduced the problem across two machines, one Intel Mac running macOS Big Sur 11.6.2, and an Apple Silicon-based MacBook Pro running macOS Monterey 12.1. Reverting to 3.10.1 withasdf global python 3.10.1
allows pip to work as expected. Any thoughts on this problem?