omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    modules
    9
    13
    56222
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccc
      ccc last edited by

      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.

      ViRo0oS 1 Reply Last reply Reply Quote 2
      • paultrott
        paultrott last edited by

        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

        ihf 1 Reply Last reply Reply Quote 0
        • ihf
          ihf @paultrott last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • ccc
            ccc last edited by

            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 type pip -h.

            1 Reply Last reply Reply Quote 1
            • theresavfields
              theresavfields last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • eddo888
                eddo888 last edited by

                great to have StaSh
                only works on python2
                any suggestions for Python3 ?

                1 Reply Last reply Reply Quote 0
                • ccc
                  ccc last edited by

                  What parts of StaSH are not compatible with Python 3??

                  bennr01 1 Reply Last reply Reply Quote 0
                  • fooois
                    fooois last edited by fooois

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • bennr01
                      bennr01 @ccc last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • jmmelko
                        jmmelko last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • ViRo0oS
                          ViRo0oS @ccc last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • ccc
                            ccc last edited by

                            PyQT is incompatible with Pythonista.
                            https://forum.omz-software.com/topic/6438/closed-is-there-a-way-to-install-tkinter-kivy-pyqt-on-pythonista

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Powered by NodeBB Forums | Contributors