Skip to content

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

@hanecak

Description

@hanecak

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions