Forum Archive

Shooting for the moon: PIP

ChrisGVE

Just bought Pythonista and it’s really great, a PyCharm for iOS 😉 and with iCloud support I can hope to work seamlessly between my Mac and iPad.

Only weakness it cannot install libraries. I’ve seen that users are asking for pandas which is great but I’m working with other libs like sklearn or nltk, etc. Can you try to implement a PIP-like function?

Cheers
Chris

cvp

@ChrisGVE Install https://github.com/ywangd/stash then you will be able to use PIP but don't forget you can only use pure Python imported modules.

ChrisGVE

Thanks, that’s pretty cool, unfortunately it does not help importing packages like sklearn. But still a very cool hack

ccc

https://pyto.app already has scikit-learn on Python 3.8 on iOS

JonB

See for example https://forum.omz-software.com/topic/4695/downloading-nltk-on-an-ipad-complete-newbie-needs-help

You can install nltk. You cannot install scikit. Basically, you cannot install anything based on C/Fortran, etc. That is a limitation imposed by apples kernel signing requirements, there are no workarounds. As @ccc points out, the other actively developed app is Pyto, which you should check out as it includes more built in modules -- however the UI side of things needed some work.