[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [CONTRIBUTE] [DONATE]

sdwdate broken - Python issue? - ModuleNotFoundError: No module named 'requests.exceptions'

I am on the latest Whonix Virtualbox, sdwdate does not work.

It is always failing with error

from .exceptions import RequestsDependencyWarning
ModuleNotFoundError: No module named 'requests.exceptions'

I can confirm I have latest python requests installed.

1 Like

The full error is in

Apr 29 15:34:27 host sdwdate[29090]:   File "/usr/bin/url_to_unixtime", line 28, in <module>
Apr 29 15:34:27 host sdwdate[29090]:     import os, time, socks, requests
Apr 29 15:34:27 host sdwdate[29090]:   File "/usr/local/lib/python3.7/dist-packages/requests/__init__.py", line 46, in <module>
Apr 29 15:34:27 host sdwdate[29090]:     from .exceptions import RequestsDependencyWarning
Apr 29 15:34:27 host sdwdate[29090]: ModuleNotFoundError: No module named 'requests.exceptions'
Apr 29 15:34:27 host sdwdate[29090]: * remote_status: error

I solved my own problem, an incompatible version of requests was installed by something else. For anyone else with this issue, you need to uninstall the older version and install the system requests.

sudo pip3 uninstall requests
sudo apt-get install --reinstall python3-requests
1 Like
[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]