New submission from Anthony Tuininga <anthony.tuini...@gmail.com>:
Running the suggested code found at https://docs.python.org/3.8/whatsnew/3.8.html regarding the new importlib.metadata module from importlib.metadata import version, requires, files version('requests') yields the error Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.8/importlib/metadata/__init__.py", line 365, in version return distribution(package).version File "/usr/local/lib/python3.8/importlib/metadata/__init__.py", line 338, in distribution return Distribution.from_name(package) File "/usr/local/lib/python3.8/importlib/metadata/__init__.py", line 159, in from_name dists = resolver(name) File "<frozen importlib._bootstrap_external>", line 1381, in find_distributions ImportError: cannot import name 'MetadataPathFinder' from 'importlib.metadata' (/usr/local/lib/python3.8/importlib/metadata/__init__.py) ---------- components: Library (Lib) messages: 353714 nosy: atuining priority: normal severity: normal status: open title: ImportError: cannot import name 'MetadataPathFinder' from 'importlib.metadata' type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38342> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com