콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
4 답글
2910 화면

Hello,


I am installing the sales module in Odoo 18 and the following message is appearing:

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


Can someone please help me? I am using Windows 11.


Thank you

아바타
취소
베스트 답변

Hi,

You have these issues installing libraries in Python 3.13. Try to use Python 3.12, and the problem will be resolved. Try using older versions of Python.


Hope it helps

아바타
취소
베스트 답변

In case someone else is struggling with this issue, when running bitnami.com OVA version of Odoo 18 (which seems to use Python egg based setup and not site-packages), here's the trick that got rid of the error for me and allowed installation of Sales:

sudo cp -r /opt/bitnami/python/lib/python3.12/site-packages/phonenumbers /opt/bitnami/odoo/lib/odoo-18.0.post20250205-py3.12.egg/

(no idea if this is the correct or persistent method to fix it though!)

아바타
취소
베스트 답변

Dear Lucineia,

i habe the same error message. Would love to try your solution. As im new to Odoo: Could you tell me which files are located where exactly and need to be copied?  Thank you very much for your help

Kind Regards

Hendrik

아바타
취소
작성자

Hello Hendrik,

Follow the steps below:

1) Locate the Python installation directory on your machine;
2) locate the phonenumbers library in this directory;
3) copy this library;
4) go to the Odoo directory and locate the site-package folder;
5) Open this folder;
5)paste the phonenumbers library on this site;
6) refresh the Odoo page in the browser.

I hope I have helped :)

작성자 베스트 답변

I managed to solve the problem. It was necessary to copy the phonenumbers library that was in the Windows "global" python directory to the site-package folder in the Odoo directory.

아바타
취소
관련 게시물 답글 화면 활동
3
4월 25
4935
0
11월 24
1132
0
11월 22
1889