跳至内容
菜单
此问题已终结
4 回复
1300 查看

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
858
0
11月 24
542
0
11月 22
1182