[SOLVED] Python3 install failed if entware Python2 is installed

Entware-ng is A modern Optware/ipkg replacement ; Entware-ng is package repository for embedded devices. These packages allow you to add new functionality to your device. Most of them taken from OpenWRT, but others are unique.

Entware-ng exist for x86, x86_64 and armhf architecture

Entware-ng also replace astware to use common base for ALL OpenWRT platform

Optware/Ipkg is obsolete, not maintened and not secure ... (abandoned)

Moderator: Lillian.W@AST

Post Reply
User avatar
father.mande
Posts: 1810
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[SOLVED] Python3 install failed if entware Python2 is installed

Post 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.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Entware”