←  [EN] Third-Party Development

Forums

»

python-six needed

rhurbarb's Photo rhurbarb 27 Feb 2022

Is it possible to install python-six on openpli 7.3, if so where do I find it? Thanks

Quote

catastrofus's Photo catastrofus 27 Feb 2022

python-siz? You mean this: https://pypi.org/project/six

Quote

rhurbarb's Photo rhurbarb 27 Feb 2022

Thanks... comes as a zip file, so i unzipped it to a tar file. Do I unzip the tar file? sorry not to clued up on this..


Edited by rhurbarb, 27 February 2022 - 22:03.
Quote

scriptmelvin †'s Photo scriptmelvin † 27 Feb 2022

OpenPLi 8.1 has it on the feed (opkg install python-six). Not sure about 7.3...

Quote

rhurbarb's Photo rhurbarb 27 Feb 2022

Thanks went back to 7.3 from 8.1 but 7.3 it doesn't have the feed list on it. thanks anyway


Edited by rhurbarb, 27 February 2022 - 22:31.
Quote

scriptmelvin †'s Photo scriptmelvin † 27 Feb 2022

The feed package is marked for armv7ahf-neon architecture, but I see no reason for that... It might just work on your box.

 

You can open the downloaded .tar.gz with Winrar. Look inside for a file called six.py and extract it. Put it on your box in the directory /usr/lib/python2.x/site-packages

 

Edit: it is on the 7.x feed. Just try this instead: telnet/ssh into your box and type:

opkg install python-six

Edited by scriptmelvin, 27 February 2022 - 23:10.
Quote

rhurbarb's Photo rhurbarb 27 Feb 2022

 

The feed package is marked for armv7ahf-neon architecture, but I see no reason for that... It might just work on your box.

 

You can open the downloaded .tar.gz with Winrar. Look inside for a file called six.py and extract it. Put it on your box in the directory /usr/lib/python2.x/site-packages

 

Edit: it is on the 7.x feed. Just try this instead: telnet/ssh into your box and type:

opkg install python-six

Thank you.will try tomorrow and report back as it's late here... ;)

Quote

rhurbarb's Photo rhurbarb 28 Feb 2022

 

The feed package is marked for armv7ahf-neon architecture, but I see no reason for that... It might just work on your box.

 

You can open the downloaded .tar.gz with Winrar. Look inside for a file called six.py and extract it. Put it on your box in the directory /usr/lib/python2.x/site-packages

 

Edit: it is on the 7.x feed. Just try this instead: telnet/ssh into your box and type:

opkg install python-six

Thank you Scriptmelvin. your method worked a treat. :thumbs-up:

Quote

scriptmelvin †'s Photo scriptmelvin † 28 Feb 2022

Thanks for the feedback :)

Quote

EnoSat's Photo EnoSat 12 Jan 2023


root@lunix4k:~# python --version
Python 2.7.13
root@lunix4k:~# opkg update
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party-armv7ahf-neon/Packages.gz.
Updated source 'openpli-3rd-party-armv7ahf-neon'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party/Packages.gz.
Updated source 'openpli-3rd-party'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/3rd-party-lunix4k/Packages.gz.
Updated source 'openpli-3rd-party-lunix4k'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/all/Packages.gz.
Updated source 'openpli-all'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/armv7ahf-neon/Packages.gz.
Updated source 'openpli-armv7ahf-neon'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/lunix4k/Packages.gz.
Updated source 'openpli-lunix4k'.
Downloading http://downloads.openpli.org/feeds/openpli-7-release/picons/Packages.gz.
Updated source 'openpli-picons'.
root@lunix4k:~# opkg install python-six
No packages installed or removed.
root@lunix4k:~#

Quote

WanWizard's Photo WanWizard 12 Jan 2023

Means "already installed".

Quote