تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
5 الردود
8451 أدوات العرض

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة
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
الصورة الرمزية
إهمال
أفضل إجابة

Same error on w10, odoo18 runs python 3.12 but my system an other, see :

in console i install phonenumbers : pip3 install phonenumbers

install ok by python 3.8 ! ; search location exe du 3.8 in PATH  then  copied  the folder phonenumbers from C:\"PATH"\python\Lib\site-packages to C:\Program Files\Odoo\python\Lib\site-packages

it works

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال