Deutsch   English   Français   Italiano  
<v6jd9c$1cup4$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Tobiah <toby@tobiah.org>
Newsgroups: comp.lang.python
Subject: Problem using mysql library
Date: Tue, 9 Jul 2024 06:17:32 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v6jd9c$1cup4$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 09 Jul 2024 15:17:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ca6f46cd88fdf95a23f94aecf29dcf4b";
	logging-data="1473316"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/3xac+cbPV7bPEVtkuF8ll"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:4yu0Z65IH7llW8VHERR1SbAqSzI=
Content-Language: en-US
Bytes: 1553

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