Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
5314 Vues

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.

Avatar
Ignorer
Meilleure réponse

Ran into the same ImportError using Odoo 8.

I tried this and it solved the problem :

apt-get install python-mysqldb
Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
sept. 23
1147
0
sept. 23
965
2
févr. 23
10093
6
oct. 23
20691
3
mars 24
8480