to expand on the above @pombredanne - if create a system python link like so sudo ln -s /usr/bin/python3 /usr/bin/python
Now i get this
❯ pyenv shell system
❯ which python
/home/kent/.pyenv/shims/python
❯ pyenv which python
/usr/bin/python
Is that unexpected behaviour?
Now whether or not it is smart or safe to manually make that link in /usr/bin is a whole other issue....
Unsure what is the indicator here that pyenv is buggered up
/usr/bin/pip3
?
--debug
flag: pyenv install --debug 3.9-dev
. But when I run sudo gdb /path/to/.pyenv/versions/3.9-dev-debug/bin/python3.9d
I get Reading symbols from /path/to/.pyenv/versions/3.9-dev-debug/bin/python3.9d...
warning: `/private/var/folders/00/l36df9q14hv13hhw8wglncch0000gr/T/python-build.20201201132008.47447/Python-3.9-dev/Programs/python.o': can't open to read symbols: No such file or directory.
warning: Could not open OSO archive file "/private/var/folders/00/l36df9q14hv13hhw8wglncch0000gr/T/python-build.20201201132008.47447/Python-3.9-dev/libpython3.9d.a"
(No debugging symbols found in /path/to/.pyenv/versions/3.9-dev-debug/bin/python3.9d)