Page 1 of 1

[SOLVED] Python3 install failed if entware Python2 is installed

PostPosted: Tue Jan 05, 2021 11:11 pm
by father.mande
Hi,

Know bug from Entware team : https://github.com/Entware/Entware/issues/582

python3 refuse to end the install ... because /opt/bin/python exist (symlink to Python2)

Solutions :
... uninstall python2 (and use same version using official APKG) ... best choice for future ... recommanded by Entware team (URL here before)
... if you own the script or you are in interactive mode ... use --force-overwrite in opkg install python3

Workaround :
... remove /opt/bin/python ... then use only python2 or python2.7 symlink to use python2 version ... BUT you need to know all usage of Entware python2 ...

Philippe.