Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6528 Näkymät

I tried installing openpyxl in odoo.sh via web shell. 
pip3 install openpyxl

But while installing a custom module it shows the module not found error. I tried to create a new build and tried installing it, but it shows the same module not found error

tried reinstalling the package, then I noticed this in the web shell "defaulting to user installation because normal site-packages is not writeable".

Avatar
Hylkää
Paras vastaus

add requirements.txt in your repostory where we usually keep readme.txt file and specify library you want to install like openpyxl == 3.13  

3.13 is the version add if no preference then only add only openpyxl  and push to odoo.sh GitHub 

Please Refer to this Link

it will be installed automatically

Avatar
Hylkää
Tekijä

Thank you Muhammad Yusuf, I will try this solution and let you know.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 23
1222
0
marrask. 23
1002
1
marrask. 22
3093
0
heinäk. 22
462
1
heinäk. 22
2097