[MacPorts] #65738: certbot-dns-cloudflare @1.29.0+python310: The 'cloudflare>=1.5.1' distribution was not found

MacPorts noreply at macports.org
Mon Aug 29 16:36:12 UTC 2022


#65738: certbot-dns-cloudflare @1.29.0+python310: The 'cloudflare>=1.5.1'
distribution was not found
----------------------+------------------------------------
 Reporter:  guhpedro  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.7.2
 Keywords:            |       Port:  certbot-dns-cloudflare
----------------------+------------------------------------
 [https://github.com/cloudflare/python-cloudflare python-cloudflare] is
 required to use {{{certbot}}} with the {{{certbot-dns-cloudflare}}}
 plugin.

 I installed both {{{certbot}}} and {{{certbot-dns-cloudflare}}} using
 MacPorts. I am running macOS 12.5.1 (21G83) (Intel).

 When running the {{{certbot}}} command with {{{certbot-dns-cloudflare}}}
 installed, it returns the following

 {{{
 An unexpected error occurred:
 pkg_resources.DistributionNotFound: The 'cloudflare>=1.5.1' distribution
 was not found and is required by the application
 Ask for help or search for solutions at https://community.letsencrypt.org.
 See the logfile
 /var/folders/r6/m70m5srj4vx7_dy54s0zj7yr0000gn/T/tmp6rn8i6wp/log or re-run
 Certbot with -v for more details.
 }}}

 A workaround is to {{{sudo port install py310-pip}}} and then {{{sudo
 pip-3.10 install cloudflare}}}.

 This will install the dependency required by {{{certbot-dns-cloudflare}}}
 to
 {{{/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages}}} and {{{certbot}}} will run.

-- 
Ticket URL: <https://trac.macports.org/ticket/65738>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list