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!
Forum Archive
Stash Install
I am having the same issue...did you manage to solve it?
Any suggestion would be greatly appreciated.
Thanks in advance
Have you tried install twitter_oauth?
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.
@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'
@Tiowang, thanks very much. That fixed it. 2 occurrences to replace in the source file.
Thank you all for your replies!
It works like a charm!
Thanks! I was also having this problem for some time. Changing the API URL seems to have solved the pip problem for me.
can someone issue a pull request for this?
@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?
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..