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 Install

    Pythonista
    7
    11
    10768
    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.
    • Arnold
      Arnold last edited by

      I got Stash to install successfully. I ran pip install Twitter successfully. But I got an error with pip install Twitter_Auth "failed to fetch package release url's" Help!

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

        I am having the same issue...did you manage to solve it?
        Any suggestion would be greatly appreciated.

        Thanks in advance

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

          Have you tried install twitter_oauth?

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

            I am getting the same problem with installing other packages. I thought it might have something to do with the new python warehouse release and not using pip v10.x

            I did selfupdate on stash to make sure it was the latest. Latest version is using pip v9 something.
            I tried to upgrade pip in stash myself once and did something very wrong and had to reinstall stash. So i didn't try upgrading the pip myself this time.

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

              @Arnold @maurice_R @Phuket2 I fix this problem in Github.
              The PyPi API was changed. The new link is 'https://pypi.org/pypi/{}/json'.
              Thus, the simplest way to fix this is to find the pip.py (~/Modules/site-packages/stash/bin/pip.py) and change the old link(http://pypi.python.org/pypi/{}/json) to 'https://pypi.org/pypi/{}/json'

              Phuket2 1 Reply Last reply Reply Quote 1
              • Phuket2
                Phuket2 @Tiowang last edited by

                @Tiowang, thanks very much. That fixed it. 2 occurrences to replace in the source file.

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

                  Thank you all for your replies!
                  It works like a charm!

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

                    Thanks! I was also having this problem for some time. Changing the API URL seems to have solved the pip problem for me.

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

                      can someone issue a pull request for this?

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

                        @JonB said:

                        can someone issue a pull request for this?

                        This should already be fixed in the latest StaSh version. PR #311 was merged a few days ago. Or is this a bug unrelated to Issue #309?

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

                          I suspect the https solves the immediate problem, though eventually we may need to migrate to pypi.org instead of pypi.python.org

                          [Migrating to PyPI.org — Python Packaging User Guide
                          Python › packaging › guides › migrating...]
                          (https://packaging.python.org/guides/migrating-to-pypi-org/)

                          I think the old url still redirects to the new..

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