You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pipipxx is pip installed, the pipx installed pipx install python symlink points to the exact filepath of the interpretter used when pip install is called.
This causes problems because this file might not exist when the python used pip install pipipxx is updated.
ex:
ls -l `which python3`
/usr/bin/python3 -> /..path..to..brew..stuff../3.7.3/bin/python
The python symlink in the pipx installed pipx environment points to the exact 3.7.3 brew installed python. This then breaks when brew updates python and removes the old files.
Instead, pipipxx should use the path of the file called with pip install rather than the path of the file executed.
The text was updated successfully, but these errors were encountered:
Another option here would be to use symlinks=False when creating the venv, and just let it copy the interpreter instead of linking it. That would make the pipx install more independent and robust.
If I go this route, I will need to determine the right approach for upgrading that runtime (maybe just pix uninstall pipx && pip install pipipxx?)
When
pipipxx
ispip install
ed, thepipx
installedpipx
installpython
symlink points to the exact filepath of the interpretter used whenpip install
is called.This causes problems because this file might not exist when the python used
pip install pipipxx
is updated.ex:
The
python
symlink in thepipx
installedpipx
environment points to the exact3.7.3
brew installed python. This then breaks when brew updates python and removes the old files.Instead,
pipipxx
should use the path of the file called withpip install
rather than the path of the file executed.The text was updated successfully, but these errors were encountered: