The 'certbot_dns_dnspod.dns_dnspod' plugin errored while loading: No module named 'zope'
hlhk2017 opened this issue · 1 comments
Problem/Motivation
When I use Tencent Cloud in DNS Challenge to apply for a certificate, an error like this occurs, mainly because there is no zope module.
Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-4" --agree-tos --email "xxxxxx@qq.com" --domains "xxxx.xyz" --authenticator dns-tencentcloud --dns-tencentcloud-credentials "/etc/letsencrypt/credentials/credentials-4" The 'certbot_dns_dnspod.dns_dnspod' plugin errored while loading: No module named 'zope'. You may need to remove or update this plugin. The Certbot log will contain the full error details and this should be reported to the plugin developer. Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-754lsnbl/log or re-run Certbot with -v for more details.
Then I entered the container terminal and ran pip install zope,
Expected behavior
Zope module installed successfully
Actual behavior
but the following error occurred。
`
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
× Building wheel for persistent (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [59 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-311
creating build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/_ring_build.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/wref.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/picklecache.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/list.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/__init__.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/persistence.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/dict.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/interfaces.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/mapping.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/ring.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/timestamp.py -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/_compat.py -> build/lib.linux-aarch64-cpython-311/persistent
creating build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_mapping.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_ring.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/cucumbers.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_docs.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_compile_flags.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_list.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_persistence.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_picklecache.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/__init__.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/attrhooks.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_timestamp.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test_wref.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/test__compat.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
copying src/persistent/tests/utils.py -> build/lib.linux-aarch64-cpython-311/persistent/tests
running egg_info
writing src/persistent.egg-info/PKG-INFO
writing dependency_links to src/persistent.egg-info/dependency_links.txt
writing requirements to src/persistent.egg-info/requires.txt
writing top-level names to src/persistent.egg-info/top_level.txt
reading manifest file 'src/persistent.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'src/persistent.egg-info/SOURCES.txt'
copying src/persistent/_compat.h -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/_timestamp.c -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/cPersistence.c -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/cPersistence.h -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/cPickleCache.c -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/ring.c -> build/lib.linux-aarch64-cpython-311/persistent
copying src/persistent/ring.h -> build/lib.linux-aarch64-cpython-311/persistent
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
generating cffi module 'build/temp.linux-aarch64-cpython-311/persistent._ring.c'
creating build/temp.linux-aarch64-cpython-311
building 'persistent.cPersistence' extension
creating build/temp.linux-aarch64-cpython-311/src
creating build/temp.linux-aarch64-cpython-311/src/persistent
gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.11 -c src/persistent/cPersistence.c -o build/temp.linux-aarch64-cpython-311/src/persistent/cPersistence.o
error: command 'gcc' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for persistent
Failed to build persistent
ERROR: Could not build wheels for persistent, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.`
##other
I tried to docker run the nginx-proxy-manager container directly, but it also reported an error that there is no zope, but it can be successfully installed through pip install zope.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!