List Info

Thread: import MySQLdb fails




import MySQLdb fails
user name
2008-02-23 20:23:17
I am running Mac OS X 10.4, Python 2.4.4, MySQL 14.7
Distrib. 4.1.22

I receive the following error:
Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright",
"credits" or "license" for more
information.
>>> import MySQLdb
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "MySQLdb/__init__.py", line 22, in ?
raise ImportError, "this is MySQLdb version %s, but
_mysql is version
%r" %
ImportError: this is MySQLdb version (1, 2, 2, 'final', 0),
but _mysql
is version (1, 2, 1, 'final', 2)



Is it possible I have a path or cfg file problem?
I have yet to find the file cite.cfg in the /usr/local/bin
area.

I downloaded the MySQL-Python-1.2.2 tar.gz from sourceforge,
but
inside the package are directions that
refer to 1.2.1

Many thanks,

ps.
I'm about ready to offer to pay someone to help me get
django going on
my machine, if anyone lives
in the berkeley area....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )