Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5304 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Ran into the same ImportError using Odoo 8.

I tried this and it solved the problem :

apt-get install python-mysqldb
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 23
1140
0
thg 9 23
963
2
thg 2 23
10091
6
thg 10 23
20679
3
thg 3 24
8475