On Apr 25, 11:45 pm, 83nini <83n...@gmail.com> wrote: > On 25 Apr, 18:35, Marco Bizzarri <marco.bizza...@gmail.com> wrote: > > > > > > > On Fri, Apr 24, 2009 at 10:04 PM, 83nini <83n...@gmail.com> wrote: > > > hi guys, > > > > i've been sweating the whole day trying to make python work with mysql > > > but in vain! > > > i'm doing the following: > > > 1. visitinghttp://sourceforge.net/projects/mysql-python > > > 2. dowloading mysql-python-test-1.2.3c1 > > > 3. extracting the files to C:\Python26\Lib\site-packages > > > 4. writing "import MySQLdb" in the python prompt > > > > getting > > > > Traceback (most recent call last): > > > File "<stdin>", line 1, in <module> > > > File "C:\Python26\lib\site-packages\MySQLdb\__init__.py", line 19, > > > in <module> > > > > import _mysql > > > ImportError: No module named _mysql > > > > WHY YYYYYYYYYYYYYYYYYYYYYYYYYYYYY???????? > > > why does it have to be so complicated???? what am i doing wrong for > > > god's sake? > > > Suggestion: install python2.5 for windows, and then download this one: > > >http://sourceforge.net/project/downloading.php?group_id=22307&filenam... > > > I'm sure you'll save yourself a lot of time. > > > Regards > > Marco > > > -- > > Marco > > Bizzarrihttp://notenotturne.blogspot.com/http://iliveinpisa.blogspot.com/-Dölj > > citerad text - > > > - Visa citerad text - > > Thanx guys for the helpful information, i did as Marco suggested and > it worked. > FINALLLLY :D > > cheers, > Lina- Hide quoted text - > > - Show quoted text -
For Windows distributions of MySQL-python (MySQLdb module) which work with python 2.6 (32 and 64bit) take a look here: http://www.codegood.com/archives/4. Apart from the normal distributions (client) embedded modules (client- server) are also available. -- http://mail.python.org/mailman/listinfo/python-list