Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation with pipenv of certbot certbot-dns-powerdns failed #30

Open
byoda opened this issue Dec 25, 2023 · 1 comment
Open

Installation with pipenv of certbot certbot-dns-powerdns failed #30

byoda opened this issue Dec 25, 2023 · 1 comment

Comments

@byoda
Copy link

byoda commented Dec 25, 2023

Using Python 3.11.4, I got an error while installing certbot-dns-powerdns.

The fix was to uninstall pyyaml-5.4.1 and install pyyaml-5.3.1 in the virtual environment.

$ pipenv install certbot-dns-powerdns
Installing certbot-dns-powerdns...
⠧ Installing certbot-dns-powerdns...[31m[1mError: [0m An error occurred while installing [32mcertbot-dns-powerdns[0m!
Error text: Collecting certbot-dns-powerdns
  Using cached certbot-dns-powerdns-0.2.1.tar.gz (5.3 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: acme>=0.31.0 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (2.8.0)
Requirement already satisfied: certbot>=0.31.0 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (2.8.0)
Collecting dns-lexicon<=3.5.6,>=3.2.4
  Using cached dns_lexicon-3.5.6-py3-none-any.whl (259 kB)
Collecting dnspython
  Using cached dnspython-2.4.2-py3-none-any.whl (300 kB)
Collecting mock
  Using cached mock-5.1.0-py3-none-any.whl (30 kB)
Requirement already satisfied: setuptools in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (69.0.3)
Collecting zope.interface
  Using cached zope.interface-6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (249 kB)
Requirement already satisfied: requests in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (2.31.0)
Requirement already satisfied: cryptography>=3.2.1 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from acme>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (41.0.7)
Requirement already satisfied: josepy>=1.13.0 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from acme>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (1.14.0)
Requirement already satisfied: PyOpenSSL!=23.1.0,>=17.5.0 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from
acme>=0.31.0->certbot-dns-powerdns->-r /tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (23.3.0)
Requirement already satisfied: pyrfc3339 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from acme>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (1.1)
Requirement already satisfied: pytz>=2019.3 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from acme>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (2023.3.post1)
Requirement already satisfied: ConfigArgParse>=1.5.3 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from
certbot>=0.31.0->certbot-dns-powerdns->-r /tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (1.7)
Requirement already satisfied: configobj>=5.0.6 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (5.0.8)
Requirement already satisfied: distro>=1.0.1 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (1.9.0)
Requirement already satisfied: parsedatetime>=2.4 in /home/steven/.local/share/virtualenvs/certbot-A2pXdG3z/lib/python3.11/site-packages (from certbot>=0.31.0->certbot-dns-powerdns->-r
/tmp/pipenv-8bpp0v7c-requirements/pipenv-jl6_4ivb-requirement.txt (line 1)) (2.6)
Collecting beautifulsoup4<5,>=4
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting cryptography>=3.2.1
  Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting future<1,>=0
  Using cached future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pyyaml<6,>=5
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

[36m  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [54 lines of output]
      running egg_info
      writing lib3/PyYAML.egg-info/PKG-INFO
      writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
      writing top-level names to lib3/PyYAML.egg-info/top_level.txt
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/pipenv/patched/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/usr/lib/python3/dist-packages/pipenv/patched/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3/dist-packages/pipenv/patched/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 271, in <module>
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 321, in run
          self.find_sources()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
          mm.run()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run
          self.add_defaults()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
          sdist.add_defaults(self)
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 112, in add_defaults
          super().add_defaults()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
          self._add_defaults_ext()
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
          self.filelist.extend(build_ext.get_source_files())
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<string>", line 201, in get_source_files
        File "/tmp/pip-build-env-qjuq24ab/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
          raise AttributeError(attr)
      AttributeError: cython_sources


  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel 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.
[0m
✘ Installation Failed
@stfast
Copy link

stfast commented Feb 23, 2024

Same here on Fedora 39, but this trick worked for me:

[root@certbot ~]# pip install certbot-dns-powerdns --no-build-isolation pyyaml==6.0
Collecting certbot-dns-powerdns
  Using cached certbot-dns-powerdns-0.2.1.tar.gz (5.3 kB)
  Preparing metadata (setup.py) ... done
Collecting pyyaml==6.0
  Downloading PyYAML-6.0.tar.gz (124 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 3.5 MB/s eta 0:00:00
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: acme>=0.31.0 in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.9.0)
Requirement already satisfied: certbot>=0.31.0 in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.9.0)
Collecting dns-lexicon<=3.5.6,>=3.2.4 (from certbot-dns-powerdns)
  Using cached dns_lexicon-3.5.6-py3-none-any.whl (259 kB)
Requirement already satisfied: dnspython in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.4.2)
Collecting mock (from certbot-dns-powerdns)
  Obtaining dependency information for mock from https://files.pythonhosted.org/packages/6b/20/471f41173930550f279ccb65596a5ac19b9ac974a8d93679bcd3e0c31498/mock-5.1.0-py3-none-any.whl.metadata
  Using cached mock-5.1.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (67.7.2)
Collecting zope.interface (from certbot-dns-powerdns)
  Obtaining dependency information for zope.interface from https://files.pythonhosted.org/packages/6c/cc/6832d4d342169af64eae6d371fab47405a0d156247e95ed85fdb98cad762/zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (41 kB)
Requirement already satisfied: requests in /usr/lib/python3.12/site-packages (from certbot-dns-powerdns) (2.28.2)
Requirement already satisfied: cryptography>=3.2.1 in /usr/lib64/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (41.0.7)
Requirement already satisfied: josepy>=1.13.0 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (1.13.0)
Requirement already satisfied: PyOpenSSL!=23.1.0,>=17.5.0 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (23.2.0)
Requirement already satisfied: pyrfc3339 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (1.1)
Requirement already satisfied: pytz>=2019.3 in /usr/lib/python3.12/site-packages (from acme>=0.31.0->certbot-dns-powerdns) (2024.1)
Requirement already satisfied: ConfigArgParse>=1.5.3 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.7)
Requirement already satisfied: configobj>=5.0.6 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (5.0.8)
Requirement already satisfied: distro>=1.0.1 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (1.8.0)
Requirement already satisfied: parsedatetime>=2.4 in /usr/lib/python3.12/site-packages (from certbot>=0.31.0->certbot-dns-powerdns) (2.6)
Requirement already satisfied: beautifulsoup4<5,>=4 in /usr/lib/python3.12/site-packages (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (4.12.3)
Collecting cryptography>=3.2.1 (from acme>=0.31.0->certbot-dns-powerdns)
  Using cached cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Collecting future<1,>=0 (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns)
  Using cached future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of dns-lexicon to determine which version is compatible with other requirements. This could take a while.
Collecting dns-lexicon<=3.5.6,>=3.2.4 (from certbot-dns-powerdns)
  Downloading dns_lexicon-3.5.5-py3-none-any.whl (259 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 259.7/259.7 kB 13.9 MB/s eta 0:00:00
  Downloading dns_lexicon-3.5.4-py3-none-any.whl (253 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.3/253.3 kB 30.9 MB/s eta 0:00:00
  Downloading dns_lexicon-3.5.3-py3-none-any.whl (253 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.2/253.2 kB 32.3 MB/s eta 0:00:00
  Downloading dns_lexicon-3.5.2-py3-none-any.whl (253 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.1/253.1 kB 32.1 MB/s eta 0:00:00
  Downloading dns_lexicon-3.5.1-py3-none-any.whl (253 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.1/253.1 kB 28.6 MB/s eta 0:00:00
  Downloading dns_lexicon-3.5.0-py3-none-any.whl (248 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.6/248.6 kB 26.5 MB/s eta 0:00:00
  Downloading dns_lexicon-3.4.5-py3-none-any.whl (249 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 249.3/249.3 kB 26.2 MB/s eta 0:00:00
INFO: pip is still looking at multiple versions of dns-lexicon to determine which version is compatible with other requirements. This could take a while.
  Downloading dns_lexicon-3.4.4-py3-none-any.whl (248 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.7/248.7 kB 30.1 MB/s eta 0:00:00
  Downloading dns_lexicon-3.4.3-py3-none-any.whl (248 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.7/248.7 kB 30.8 MB/s eta 0:00:00
  Downloading dns_lexicon-3.4.2-py3-none-any.whl (248 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 248.6/248.6 kB 27.7 MB/s eta 0:00:00
Collecting future (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns)
  Obtaining dependency information for future from https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl.metadata
  Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: tldextract in /usr/lib/python3.12/site-packages (from dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (3.5.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3.12/site-packages (from requests->certbot-dns-powerdns) (1.26.18)
Requirement already satisfied: six in /usr/lib/python3.12/site-packages (from configobj>=5.0.6->certbot>=0.31.0->certbot-dns-powerdns) (1.16.0)
Requirement already satisfied: cffi>=1.12 in /usr/lib64/python3.12/site-packages (from cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (1.15.1)
Requirement already satisfied: soupsieve>1.2 in /usr/lib/python3.12/site-packages (from beautifulsoup4<5,>=4->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (2.5)
Requirement already satisfied: requests-file>=1.4 in /usr/lib/python3.12/site-packages (from tldextract->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (1.5.1)
Requirement already satisfied: filelock>=3.0.8 in /usr/lib/python3.12/site-packages (from tldextract->dns-lexicon<=3.5.6,>=3.2.4->certbot-dns-powerdns) (3.12.2)
Requirement already satisfied: pycparser in /usr/lib/python3.12/site-packages (from cffi>=1.12->cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (2.20)
Requirement already satisfied: ply==3.11 in /usr/lib/python3.12/site-packages (from pycparser->cffi>=1.12->cryptography>=3.2.1->acme>=0.31.0->certbot-dns-powerdns) (3.11)
Downloading mock-5.1.0-py3-none-any.whl (30 kB)
Downloading zope.interface-6.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (255 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 255.3/255.3 kB 8.9 MB/s eta 0:00:00
Downloading future-1.0.0-py3-none-any.whl (491 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 32.1 MB/s eta 0:00:00
Building wheels for collected packages: pyyaml, certbot-dns-powerdns
  Building wheel for pyyaml (pyproject.toml) ... done
  Created wheel for pyyaml: filename=PyYAML-6.0-cp312-cp312-linux_x86_64.whl size=45330 sha256=5adfefab41fd609678e16367e97d3e0e9061689a0343bd833d539686a68052f2
  Stored in directory: /root/.cache/pip/wheels/95/98/10/7570ceeb5c16c08b2896dedd9bc27480063cdbdb4213d2915f
  Building wheel for certbot-dns-powerdns (setup.py) ... done
  Created wheel for certbot-dns-powerdns: filename=certbot_dns_powerdns-0.2.1-py2.py3-none-any.whl size=5831 sha256=21929f6488efb78573eabfe16a0fd79583be866973486c56fc2b461f7d859e99
  Stored in directory: /root/.cache/pip/wheels/9b/6a/37/b9cb90edfee11f549d906944483f47ee7a3cc23175b929c604
Successfully built pyyaml certbot-dns-powerdns
Installing collected packages: zope.interface, pyyaml, mock, future, dns-lexicon, certbot-dns-powerdns
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
certbot-dns-ovh 2.9.0 requires dns-lexicon>=3.15.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-dnsimple 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-gehirn 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-sakuracloud 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-dnsmadeeasy 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-linode 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-luadns 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
certbot-dns-nsone 2.9.0 requires dns-lexicon>=3.14.1, but you have dns-lexicon 3.4.2 which is incompatible.
Successfully installed certbot-dns-powerdns-0.2.1 dns-lexicon-3.4.2 future-1.0.0 mock-5.1.0 pyyaml-6.0 zope.interface-6.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[root@certbot ~]# pip list|grep cert
certbot                  2.9.0
certbot-apache           2.9.0
certbot-dns-cloudflare   2.9.0
certbot-dns-digitalocean 2.9.0
certbot-dns-dnsimple     2.9.0
certbot-dns-dnsmadeeasy  2.9.0
certbot-dns-gehirn       2.9.0
certbot-dns-google       2.9.0
certbot-dns-linode       2.9.0
certbot-dns-luadns       2.9.0
certbot-dns-nsone        2.9.0
certbot-dns-ovh          2.9.0
certbot-dns-plesk        0.3.0
certbot-dns-powerdns     0.2.1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
certbot-dns-rfc2136      2.9.0
certbot-dns-route53      2.9.0
certbot-dns-sakuracloud  2.9.0
certbot-nginx            2.9.0

Omit python3 -s parameter, so python can find plugins installed from pip:
(-s Don't add user site directory to sys.path.):

$ diff /usr/bin/certbot /usr/bin/certbot.original 
1c1
< #! /usr/bin/python3 -P
---
> #! /usr/bin/python3 -sP
[root@certbot ~]# certbot plugins

* dns-powerdns
Description: Obtain certificates using a DNS TXT record (if you are using
PowerDNS for DNS.)
Interfaces: Authenticator, Plugin
Entry point: EntryPoint(name='dns-powerdns',
value='certbot_dns_powerdns.dns_powerdns:Authenticator',
group='certbot.plugins')
```console




Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants