跳至內容
選單
此問題已被標幟
4 回覆
1423 瀏覽次數

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
1203
0
11月 24
613
0
11月 22
1224