How to solve the problem of ImportError: & # 039
This article mainly explains "how to solve the problem of ImportError: 'pyOpenSSL' module missing required functionality". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to solve the problem of ImportError:' pyOpenSSL' module missing required functionality".
Problem description
Executing certbot renew produces the following error:
# certbot renew--renew-hook "docker-compose-f / usr/local/harbor/docker-compose.yml restart" / usr/lib/python2.7/site-packages/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2***You are running Setuptools on Python 2 Which is no longersupported and > > SETUPTOOLS WILL STOP WORKING