-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Description
On a Debian system (very likely also Ubuntu) the version of requests is patched to not ship their own version of urllib, in other words: packages.urllib3 does not exist (same issue as e.g. here: mk-fg/python-onedrive#13. Hence, I get the following error:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/vdirsyncer/cli.py", line 133, in storage_instance_from_config
return cls(**config)
File "build/bdist.linux-x86_64/egg/vdirsyncer/storage/dav.py", line 473, in __init__
super(CaldavStorage, self).__init__(**kwargs)
File "build/bdist.linux-x86_64/egg/vdirsyncer/storage/dav.py", line 264, in __init__
useragent, dav_header=self.dav_header)
File "build/bdist.linux-x86_64/egg/vdirsyncer/storage/dav.py", line 186, in __init__
'auth': prepare_auth(auth, username, password)
File "build/bdist.linux-x86_64/egg/vdirsyncer/storage/http.py", line 27, in prepare_auth
import requests_toolbelt
File "build/bdist.linux-x86_64/egg/requests_toolbelt/__init__.py", line 19, in <module>
File "build/bdist.linux-x86_64/egg/requests_toolbelt/adapters/__init__.py", line 12, in <module>
File "build/bdist.linux-x86_64/egg/requests_toolbelt/adapters/ssl.py", line 13, in <module>
ImportError: No module named packages.urllib3.poolmanagerReactions are currently unavailable