No module named 'importlib.metadata'

Question:

I’m trying to install Odoo 15.0 on mac (python 3.7) when i come to run the command:

pip3 install -r requirements.txt

I got this error message:

Traceback (most recent call last):
File "/usr/local/opt/[email protected]/bin/pip3", line 10, in <module>
from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'
Asked By: Omri Maher

||

Answers:

Try installing this lib manually, using :

pip install importlib-metadata

or

pip3 install importlib-metadata

Answered By: Omar Tougui
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.