T
Termux10mo ago
Dimeji77

Pip error in proot

Bad Interpreter error. What does this even mean?
No description
5 Replies
Komo
Komo10mo ago
you're using python from Termux, exclude $PREFIX/bin from PATH
Dimeji77
Dimeji7710mo ago
Thanks
Dimeji77
Dimeji7710mo ago
@μ Komo What can I do from here ?
No description
Dimeji77
Dimeji7710mo ago
update-alternatives: error: no alternatives for python3
update-alternatives: error: no alternatives for python3
, But
which python3
which python3
still outputs
/data/data/com.termux/files/usr/bin/python3
/data/data/com.termux/files/usr/bin/python3
Should I try
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 10

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 10

Komo
Komo10mo ago
exclude /data/data/com.termux/files/usr/bin from PATH or basically export PATH="/usr/bin:/usr/local/bin" in your .bashrc