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

Hi ,I have tried installing the following module but failed.

https://www.odoo.com/apps/modules/10.0/report_py3o/

I got the following error when installing then module:

Unable to install module "report_py3o" because an external dependency is not met: No module named py3o.template

Then i tried to install py3o.template python library through commandline and got the following result:

pip install py3o.template

Commandline output:

C:\Users\Admin>pip install py3o.template
Requirement already satisfied: py3o.template in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (0.9.12)
Requirement already satisfied: setuptools in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (28.8.0)
Requirement already satisfied: six>=1.9 in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (1.11.0)
Requirement already satisfied: lxml in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (4.2.1)
Requirement already satisfied: genshi>=0.7 in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (0.7)
Requirement already satisfied: pyjon.utils>0.6 in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (0.7)
Requirement already satisfied: Pillow in c:\users\admin\appdata\local\programs\python\python36\lib\site-packages (from py3o.template) (5.1.0)

Anyone has any idea what is wrong since the dependency is already existed?

頭像
捨棄
最佳答案
In the documentation of the same module it tells you that you must install the libraries in your environment or on the server (depends on where you have odoo), in this case if you have python 3.7 it would be pip3 install py3o.temaplate


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
2月 19
4062
QWeb report 已解決
1
1月 19
3851
0
3月 15
3892
2
4月 25
6117
0
9月 22
3916