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

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".

頭像
捨棄
最佳答案

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

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
0
12月 23
1214
0
11月 23
994
1
11月 22
3073
0
7月 22
462
1
7月 22
2091