Problem using mysql library

Liste des GroupesRevenir à cl python 
Sujet : Problem using mysql library
De : toby (at) *nospam* tobiah.org (Tobiah)
Groupes : comp.lang.python
Date : 09. Jul 2024, 15:17:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6jd9c$1cup4$2@dont-email.me>
User-Agent : Mozilla Thunderbird
sinewave:toby ~(1)> python
Python 2.7.18 (default, Jul  8 2024, 12:49:12)
[GCC 13.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import MySQLdb
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 23, in <module>
     (version_info, _mysql.version_info))
ImportError: this is MySQLdb version (1, 2, 5, 'final', 1), but _mysql is version (1, 4, 6, 'final', 0)
I Googled this a lot, and saw many people with the same problem,
but couldn't find an answer that helped.
Thanks!
Toby

Date Sujet#  Auteur
9 Jul 24 * Problem using mysql library2Tobiah
9 Jul 24 `- Re: Problem using mysql library1Stefan Ram

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal