question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'importlib_metadata'

See original GitHub issue

I’m trying to test my plugin w/ various Python versions and the latest pytest works on Python 3.8 only. Python 3.7 and 3.6 failed with the $subj message.

The problem gone if I install importlib_metadata package “manually”.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
DjMorencommented, Jun 10, 2020

For people suffering this with pipenv, search into your .lock file if ther’s an importlib-metadata entrance… If you don’t find it, then regenerate your .lock file again and it will be there and this will be fixed.

8reactions
zauficommented, Apr 24, 2020

I use pipenv which is supposed to be a sane install method…

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Fixed] ModuleNotFoundError: No module named 'importlib ...
How to Fix “ModuleNotFoundError: No module named 'importlib-metadata'” in PyCharm · Open File > Settings > Project from the PyCharm menu. · Select...
Read more >
No module named 'importlib.metadata' - python - Stack Overflow
Try installing this lib manually, using : pip install importlib-metadata. or. pip3 install importlib-metadata.
Read more >
No module named 'importlib_metadata' with python3.8 #1487
Hello,. I'm not sure that this is poetry problem. importlib_metadata is buildin_module since python3.8 but renamed to importlib.metadata .
Read more >
ImportError: No module named importlib metadata - YouTube
Python Virtual Environment Error - ImportError: No module named importlib_metadataAssertionError: importlib - metadata =0.12; ...
Read more >
ModuleNotFoundError: No module named 'importlib-metadata'
After the installation of importlib-metadata python library, ModuleNotFoundError: No module named 'importlib-metadata' error will be solved.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found