DependencyWarning Error

After the recent update, I keep getting “DependencyWarning” when I run “certbot” command on Archlinux (3.8.4-1).

At below you can see the errors:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.9.3', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/certbot/main.py", line 18, in <module>
    from certbot import account
  File "/usr/lib/python2.7/site-packages/certbot/account.py", line 16, in <module>
    from acme import messages
  File "/usr/lib/python2.7/site-packages/acme/messages.py", line 4, in <module>
    from acme import challenges
  File "/usr/lib/python2.7/site-packages/acme/challenges.py", line 10, in <module>
    import requests
  File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 60, in <module>
    from .packages.urllib3.exceptions import DependencyWarning
ImportError: cannot import name DependencyWarning

Below packages are already installed:
python2 2.7.12-2
python2-requests 2.12.3-1
python2-urllib3 1.19.1-1

certbot 0.9.3-1
certbot-nginx 0.9.3-1

Any advice?

@ozanguven - it might be best to open an issue on the Certbot repository with the above information.

Thanks, I have created the issue https://github.com/certbot/certbot/issues/3865

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.