Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6088 มุมมอง

On my local system i installed odoo 9 source, I installed it using PyCharm. So am able to setup MySQLDb on my local system. But on live server, I installed odoo using .exe setup. I need to setup MySqlDb or any mysql connector on it. How is it possible to install any python external library on odoo ? I installed MySqlDb and PyMySql on server using PIP too but error is shown "ImportError: No module named PyMySql" or "ImportError: No module named MySqlDb". Please guide me how to achieve that.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Ran into the same ImportError using Odoo 8.

I tried this and it solved the problem :

apt-get install python-mysqldb
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Ahmed,

check the below links:

https://stackoverflow.com/questions/33446347/no-module-named-pymysql

https://stackoverflow.com/questions/22252397/importerror-no-module-named-mysqldb


I hope this will help you

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 23
2044
0
ก.ย. 23
1758
2
มิ.ย. 25
11274
6
ต.ค. 23
22120
3
มี.ค. 24
9549