Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
How do you install modules into the app
-
Help New to Pythonista
I have just downloaded the app onto my ipad and see you can load extra code libraries/modules etc into the app. But I don't understand how you do this on the app.
I can see there is something called PIP that would be useful.
Can some one guide me or give some instructions
Thanks
Paul.
-
You need to install StaSH and then you can run pip in StaSH. The thing to watch out for is that the modules which you install need to be "Pure Python" which means that they do not require any C-libraries.
-
Thanks for this.
So to be thick but to run pip how do you do this.
I have launched the stash and gets the cmd line
Thanks
-
@paultrott Provided the module is one that will run under Pythonista (Pure Python, etc.), you can type pip install modulename and see if the module works.
-
Once you have successfully installed StaSH then you need to reboot Pythonista and open the
launch_stash.py
script and run it. You should then be able to typepip -h
. -
Pythonista is a great way to work under developer mode. I am wanting to more scrape the Image but it is not supporting My Iphone to Itunes. Then I have installed Pythonista with the help of Apple Support Now it is working well to search and scraping of Image for my library.
-
great to have StaSh
only works on python2
any suggestions for Python3 ? -
What parts of StaSH are not compatible with Python 3??
-
This post is deleted! -
@ccc said:
What parts of StaSH are not compatible with Python 3??
git
,gh
as well as some less commonly used commands. Still,pip
should work with python3.@eddo888 are you sure you are using the latest version? Some time ago there was an update which requires an forced update (
selfupdate -f
). It was the same update which introduced py3 compatibility. -
just to mention that I have managed to install the mido module in Pythonista after installing stash first.
I was amazed that it could work without breaking any of Apple API policies!
Actually the hardest part was to find launch_stash.py, which was in « This iPhone » and not in « Python modules/site-packages » as are the other Stash files.
-
@ccc hey i hope u get this, so i saw your comment and wanted to ask you how to install a module manually on pythonista 3 ?
Bcz i wanna install PyQt5 module and it says to install it manually i hope you get this and reply. -
PyQT is incompatible with Pythonista.
https://forum.omz-software.com/topic/6438/closed-is-there-a-way-to-install-tkinter-kivy-pyqt-on-pythonista