Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/pip/_internal/basecommand.py", line 141, in main

status = self.run(options, args)


 "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 330, in run

self._warn_about_conflicts(to_install)


 "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 456, in _warn_about_conflicts

package_set, _dep_info = check_install_conflicts(to_install)


 "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 98, in check_install_conflicts

package_set = create_package_set_from_installed()


 "/usr/local/lib/python3.6/site-packages/pip/_internal/operations/check.py", line 41, in create_package_set_from_installed

package_set[name] = PackageDetails(dist.version, dist.requires())


 "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2607, in requires

dm = self._dep_map


 "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2871, in _dep_map

self.__dep_map = self._compute_dependencies()


 "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2880, in _compute_dependencies

for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:


 "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2862, in _parsed_pkg_info

metadata = self.get_metadata(self.PKG_INFO)


 "/usr/local/lib/python3.6/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1788, in get_metadata

raise KeyError("No metadata except PKG-INFO is available")
KeyError: 'No metadata except PKG-INFO is available'

Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 70, in handle_authorizations

resps = self.auth.perform(achalls)


 "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 58, in perform

self._perform(domain, validation_domain_name, validation)


 "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 52, in _perform

self._get_cloudflare_client().add_txt_record(domain, validation_name, validation, self.ttl)


 "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 89, in add_txt_record

self.cf.zones.dns_records.post(zone_id, data=data)
# zones | pylint: disable=no-member


 "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 630, in post

return self._base.call_with_auth('POST', self._parts,


 "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 73, in call_with_auth

return self._call(method, headers, parts,


 "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 449, in _call

code = errors['code']
KeyError: 'code'
