ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.34k stars 856 forks source link

How use and install pip for python2? #2285

Open Kakegurai opened 7 months ago

Kakegurai commented 7 months ago

I use command apk add pip and pip install requests but it not working for my project in python2, my project use module requests colorama etc

tower-town commented 7 months ago

I use command apk add pip and pip install requests but it not working for my project in python2, my project use module requests colorama etc

I just search pip for python3, you can search in official website https://pkgs.alpinelinux.org/packages?name=*pip&branch=v3.14&repo=&arch=x86&maintainer=

This discussion maybe help you https://github.com/ish-app/ish/discussions/1529

esgie commented 6 months ago

Use older Alpine 3.10 minirootfs, I guess it’s the last one supporting python 2. https://dl-cdn.alpinelinux.org/alpine/v3.10/releases/x86/alpine-minirootfs-3.10.9-x86.tar.gz then apk add python2 py2-pip