Help! I broke python 3.9 installation on macOS
First problem: I can no longer say
Obfuscated at MyMac ~ % python3 pip -m list
It cries in pain with:
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3: can't open file
'/Users/Obfuscated/pip': [Errno 2] No such file or directory.
Why is it looking at my $HOME??
Here's some hopefully relevant outputs:
First, this to show terminal has picked up $PATH from .zprofile and runs
Obfuscated at MyMac ~ % python3
Python 3.9.0 (v3.9.0:9cf6752276, Oct 5 2020, 11:29:23)
[Clang 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
however, typing various flavours of pip commands direct into the shell gives
Obfuscated at MyMac ~ % pip3 list
Obfuscated at MyMac ~ % pip3.8 list
Obfuscated at MyMac ~ %
Something has gone wrong with site.py probably unable to fall back to using
the older site-packages because of my $PATH abuse.
which now reads as
I tried installing the packages into 3.9 one at a time but got errors
indicating that it was trying to re-compile modules like pandas from source. I
saw a reply to a windows user on this list today who was advised to be patient
because 3.9 might be too new to have all the binary modules in PyPi
I scrubbed all of 3.9 from
and re-installed python 3.9 from Python.org to get back to the same situation
I have tried to work out what was wrong by reading site.py but got lost.
Am I facing a ruthless deletion of every trace of Python and starting again,
or waiting patiently for the binary modules to appear (3.8 still works OK, so
I can live with that)??
Or is there some piece of obvious magic I have missed blundering in the land
of the Sorcerer's Apprentice?
To de-mung my e-mail address:- fsnospam$elliott$$
PGP Fingerprint: 1A96 3CF7 637F 896B C810 E199 7E5C A9E4 8E59 E248