[Letsencrypt-devel] Bug#807825: ImportError: cannot import name range

derfel debian at derfel.net
Sun Dec 13 14:10:47 UTC 2015


Package: python-acme
Version: 0.1.0-3
Severity: normal

Cannot run letsencrypt because import error

# letsencrypt
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 9, in <module>
    load_entry_point('letsencrypt==0.1.0', 'console_scripts', 'letsencrypt')()
  File "/usr/lib/python2.7/dist-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/dist-packages/pkg_resources/__init__.py", line 2721,
in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2377,
in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2383,
in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/letsencrypt/cli.py", line 26, in
<module>
    from letsencrypt import account
  File "/usr/lib/python2.7/dist-packages/letsencrypt/account.py", line 15, in
<module>
    from acme import messages
  File "/usr/lib/python2.7/dist-packages/acme/messages.py", line 4, in <module>
    from acme import challenges
  File "/usr/lib/python2.7/dist-packages/acme/challenges.py", line 13, in
<module>
    from acme import crypto_util
  File "/usr/lib/python2.7/dist-packages/acme/crypto_util.py", line 7, in
<module>
    from six.moves import range  # pylint: disable=import-error,redefined-
builtin
ImportError: cannot import name range



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages python-acme depends on:
ii  ca-certificates         20150426
ii  python-cryptography     1.1.1-1
ii  python-mock             1.3.0-2.1
ii  python-ndg-httpsclient  0.4.0-3
ii  python-openssl          0.15.1-2
ii  python-pkg-resources    18.7-1
ii  python-pyasn1           0.1.9-1
ii  python-requests         2.8.1-1
ii  python-rfc3339          1.0-4
ii  python-six              1.10.0-1
ii  python-tz               2012c+dfsg-0.1
ii  python-werkzeug         0.10.4+dfsg1-1
pn  python:any              <none>

python-acme recommends no packages.

python-acme suggests no packages.

-- no debconf information



More information about the Letsencrypt-devel mailing list