It is currently Sun Apr 11, 2021 3:07 pm
All times are UTC + 8 hours

[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)

[SOLVED] Python3 install failed if entware Python2 is installed

Postby father.mande » Tue Jan 05, 2021 11:11 pm

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.
AS5202T /AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 1126
Joined: Sat Sep 12, 2015 2:55 am

Return to Entware

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest