Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation fails with "Could not find any downloads that satisfy the requirement requests==2.6.2" #280

Open
hanecak opened this issue May 24, 2018 · 0 comments
Assignees

Comments

@hanecak
Copy link
Contributor

hanecak commented May 24, 2018

fix_python
jessie - distribution
Downloading/unpacking requests==2.6.2
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement requests==2.6.2
No distributions at all found for requests==2.6.2
Storing complete log in /root/.pip/pip.log
dpkg: error processing package odn-simple (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
odn-simple
E: Sub-process /usr/bin/dpkg returned an error code (1)

Possible cause http://pypi.python.org/simple/ no longer accessible due to "force SSL".

Workaround:

  • do install: apt-get install odn-simple
  • cd /usr/share/python/odn-ckan-shared/
  • . bin/activate
  • pip install --index-url=https://pypi.python.org/simple/ requests==2.6.2
  • repeat install: apt-get install odn-simple

Reference: https://stackoverflow.com/a/46963820

@hanecak hanecak self-assigned this May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant