콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
9005 화면

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.

아바타
취소