/code/settings.py:146: UserWarning: Could not import local_settings module. Traceback (most recent call last):


 "/code/settings.py", line 140, in <module>

from local_settings import *
# noqa
ModuleNotFoundError: No module named 'local_settings'

Traceback (most recent call last):


 "/usr/bin/certbot", line 11, in <module>

load_entry_point('certbot==0.40.0', 'console_scripts', 'certbot')()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 490, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2854, in load_entry_point

return ep.load()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2445, in load

return self.resolve()


 "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2451, in resolve

module = __import__(self.module_name, fromlist=['__name__'], level=0)


 "/usr/lib/python3/dist-packages/certbot/main.py", line 10, in <module>

import josepy as jose


 "/usr/lib/python3/dist-packages/josepy/__init__.py", line 41, in <module>

from josepy.interfaces import JSONDeSerializable


 "/usr/lib/python3/dist-packages/josepy/interfaces.py", line 7, in <module>

from josepy import errors, util


 "/usr/lib/python3/dist-packages/josepy/util.py", line 7, in <module>

import OpenSSL


 "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>

from OpenSSL import crypto, SSL


 "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 12, in <module>

from cryptography import x509


 "/usr/lib/python3/dist-packages/cryptography/x509/__init__.py", line 8, in <module>

from cryptography.x509.base import (


 "/usr/lib/python3/dist-packages/cryptography/x509/base.py", line 18, in <module>

from cryptography.x509.extensions import Extension, ExtensionType


 "/usr/lib/python3/dist-packages/cryptography/x509/extensions.py", line 20, in <module>

from cryptography.hazmat.primitives import constant_time, serialization


 "/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py", line 11, in <module>

from cryptography.hazmat.bindings._constant_time import lib
ModuleNotFoundError: No module named '_cffi_backend'
