2016-09-25, 11:54
I had urllib3 problem as well while installing on kodi 12.5
output of
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7']
so I have installed the library by:
and then edited the code in /home/pi/.kodi/addons/plugin.dbmc/resources/lib/dropbox/rest.py
from:
to:
as suggested here
The above solves the urllib3 library problem and I was able to follow the procedure until "
" Select/click on the "Finish adding account..." list item."
However.. a new error appears at this point:
which sounds like a compatibility error
I hope this could be helpful
output of
Code:
python -c "import sys; print(sys.path)"
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7']
so I have installed the library by:
Code:
apt-get install python-urllib3
and then edited the code in /home/pi/.kodi/addons/plugin.dbmc/resources/lib/dropbox/rest.py
from:
Code:
try:
import urllib3
except ImportError:
raise ImportError('Dropbox python client requires urllib3.')
Code:
try:
import urllib3
except ImportError:
try:
import requests.packages.urllib3 as urllib3
except ImportError:
raise ImportError('Dropbox python client requires urllib3.')
The above solves the urllib3 library problem and I was able to follow the procedure until "
" Select/click on the "Finish adding account..." list item."
However.. a new error appears at this point:
Code:
..
Error Type: <type 'exceptions.TypeError'>
Error Contents: __init__() got an unexpected keyword argument 'ssl_version'
..
which sounds like a compatibility error
I hope this could be helpful