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.


    Stash alternatives for `pip`?

    Pythonista
    3
    5
    3260
    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.
    • DKatri
      DKatri last edited by

      I've been having some odd issues with stash as of late, most annoyingly is that it's started ignoring when I type a space with an external keyboard. Nowhere else in Pythonista seems to have the same issue, nor anywhere else in iOS as far as I can tell.

      Is there any other way to install modules? Something a bit more native to the app? That's 90% of what I had been using stash for.

      bennr01 1 Reply Last reply Reply Quote 0
      • bennr01
        bennr01 @DKatri last edited by

        @DKatri

        I've been having some odd issues with stash as of late, most annoyingly is that it's started ignoring when I type a space with an external keyboard.

        Are you using the pythonista beta?

        Is there any other way to install modules? Something a bit more native to the app? That's 90% of what I had been using stash for.

        I dont know of any alternatives, but you can still use StaSh pip without using the command prompt.
        Simply open launch_stash.py in the editor, long tap the run-Button unitl you are prompted for arguments and then type --command "pip install <package>" (the " are required), which should run pip on start.

        You can also download a .whl manually, then run $STASH_ROOT/lib/stashutils/wheels.py with the path to the wheel as an argument. This will install a .whl file, but wont install any dependencies.

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

          @bennr01:

          Are you using the pythonista beta?

          I am - maybe I shouldn't be blaming stash then!

          I didn't know about the long press option. I'll try that. Thanks!

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

            @bennr01 Is there a flag option in pip to use the non-wheel option? For some modules, it seems like the wheel is really, really large.

            BTW another option is to use something like working copy to clone the git repo, then just copy the main module folder to site-packages.

            bennr01 1 Reply Last reply Reply Quote 1
            • bennr01
              bennr01 @JonB last edited by

              @JonB There is currently no flag, but you can switch priority in line 1051 of pip.py. But the flag is a good idea, I'll add it when/if i fix Wheels for PEP 491.

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