Sujet : Re: Problem using mysql library
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.pythonDate : 09. Jul 2024, 15:02:32
Autres entêtes
Organisation : Stefan Ram
Message-ID : <mysql-20240709145951@ram.dialup.fu-berlin.de>
References : 1
Tobiah <
toby@tobiah.org> wrote or quoted:
ImportError: this is MySQLdb version (1, 2, 5, 'final', 1),
but _mysql is version (1, 4, 6, 'final', 0)
It seems these versions must match, but do not match, so the
first idea would be to uninstall the libraries and then install
them again explicitly specifying the same version (like "1.2.5")
for all of them. But I'm not an expert here, and doing this
might break even more or might not work due to the deprecation of
Python 2.7, so please proceed with caution and at your own risk.