Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork93
Closed
Description
importimportlib.metadataprint(importlib.metadata.distribution('setuptools').entry_points[0])__import__('importlib_metadata')print(importlib.metadata.distribution('setuptools').entry_points[0])
$python3 t.pyEntryPoint(name='alias', value='setuptools.command.alias:alias', group='distutils.commands')Traceback (most recent call last): File "/tmp/y/venv/lib/python3.8/site-packages/importlib_metadata/__init__.py", line 224, in __getitem__ return next(iter(self.select(name=name)))StopIterationDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "t.py", line 4, in <module> print(importlib.metadata.distribution('setuptools').entry_points[0]) File "/tmp/y/venv/lib/python3.8/site-packages/importlib_metadata/__init__.py", line 226, in __getitem__ raise KeyError(name)KeyError: 0
Metadata
Metadata
Assignees
Labels
No labels