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

typing-extensions not found on Windows #9682

Open
carlosjourdan opened this issue Apr 22, 2023 · 3 comments
Open

typing-extensions not found on Windows #9682

carlosjourdan opened this issue Apr 22, 2023 · 3 comments

Comments

@carlosjourdan
Copy link

My operating system is (include version):

Windows 10

I installed Certbot with (snap, OS package manager, pip, certbot-auto, etc):

https://dl.eff.org/certbot-beta-installer-win_amd64.exe

I ran this command and it produced this output:

certbot produces the following error

←[31mAn unexpected error occurred:←[0m
←[31mpkg_resources.DistributionNotFound: The 'typing-extensions>=3.7.4' distribution was not found and is required by typing-inspect←[0m

@alexzorin
Copy link
Collaborator

alexzorin commented Apr 22, 2023

Does uninstalling and reinstalling Certbot still result in this issue?

I'm unable to reproduce the issue.

You can also try https://github.com/certbot/certbot/releases/latest/download/certbot-beta-installer-win_amd64_signed.exe.

@carlosjourdan
Copy link
Author

Neither reinstalling the original file, nor installing the one from the github link fixed the issue.

For reference, this is the content of the log file when I run the certbot.exe

2023-04-24 16:01:18,098:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "runpy.py", line 197, in run_module_as_main
File "runpy.py", line 87, in run_code
File "C:\Program Files\Certbot\bin\certbot.exe_main
.py", line 29, in
sys.exit(main())
File "C:\Program Files\Certbot\pkgs\certbot\main.py", line 19, in main
return internal_main.main(cli_args)
File "C:\Program Files\Certbot\pkgs\certbot_internal\main.py", line 1835, in main
plugins = plugins_disco.PluginsRegistry.find_all()
File "C:\Program Files\Certbot\pkgs\certbot_internal\plugins\disco.py", line 192, in find_all
cls.load_entry_point(entry_point, plugins)
File "C:\Program Files\Certbot\pkgs\certbot_internal\plugins\disco.py", line 199, in load_entry_point
plugin_ep = PluginEntryPoint(entry_point)
File "C:\Program Files\Certbot\pkgs\certbot_internal\plugins\disco.py", line 40, in init
self.plugin_cls: Type[interfaces.Plugin] = entry_point.load()
File "C:\Program Files\Certbot\pkgs\pkg_resources_init
.py", line 2467, in load
self.require(*args, **kwargs)
File "C:\Program Files\Certbot\pkgs\pkg_resources_init
.py", line 2490, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "C:\Program Files\Certbot\pkgs\pkg_resources_init.py", line 815, in resolve
dist = self.resolve_dist(
File "C:\Program Files\Certbot\pkgs\pkg_resources_init
.py", line 856, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing-extensions>=3.7.4' distribution was not found and is required by typing-inspect
2023-04-24 16:01:18,098:ERROR:certbot._internal.log:An unexpected error occurred:
2023-04-24 16:01:18,099:ERROR:certbot._internal.log:pkg_resources.DistributionNotFound: The 'typing-extensions>=3.7.4' distribution was not found and is required by typing-inspect

Copy link

We've made a lot of changes to Certbot since this issue was opened. If you still have this issue with an up-to-date version of Certbot, can you please add a comment letting us know? This helps us to better see what issues are still affecting our users. If there is no activity in the next 30 days, this issue will be automatically closed.

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

No branches or pull requests

2 participants