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:
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
apt-get install odn-simple
Reference: https://stackoverflow.com/a/46963820