Skip to Content
Menu
This question has been flagged
4 Replies
4551 Views

Hello, I get an error when trying to enable eCommerce or Sales in odoo community edition. The error is:


Invalid Operation

Unable to install module "account_peppol" because an external dependency is not met: External dependency phonenumbers not installed: No package metadata was found for phonenumbers


I installed latest python and also installed phonenumbers by using: py -m pip install phonenumbers


I restarted but the problem still persists. Can yoy help?

Don't disregard that it is installed in Windows.

Avatar
Discard
Best Answer

I had issues installing libraries in Python 3.13. When I used Python 3.12, the problem was resolved. Try using older versions of Python.

Avatar
Discard
Best Answer
This error occurs because you are missing the phonenumbers library. Open the terminal, activate the virtual environment (venv), and enter the following command: pip3 install phonenumbers
Avatar
Discard
Best Answer

Hello

I have been trying to resolve the same issue for the past hour, with no luck.

I keep getting the same error again and again

Opération invalide

Impossible d'installer le module "account_peppol" à cause d'une dépendance externe non trouvée : External dependency phonenumbers not installed: No package metadata was found for phonenumbers 


I initially tried the 18.0 version. Then 17, then 16 (same issue).

I installed Python 3.12, and copied  the files from C:\Program Files\python\Lib\site-packages to C:\Program Files\Odoo\python\Lib\site-packages. Then i tried 3.13

Can anyone help ? I keep reading about commands but i have no idea where to put them? (Btw I have no IT background)

Thanks a lot

Avatar
Discard
Author Best Answer

I have version 3.12.8. Anyway for future reference I fixed the problem by copying the files from 


C:\Program Files (x86)\python\Lib\site-packages

to 

C:\Program Files\Odoo\python\Lib\site-packages


Obviously the python I installed is not the one Odoo is using. I copied the folders phonenumbers and phonenumbers-8.13.53.dist-info.


After that, no restart, it worked.

Avatar
Discard