This worked so far. Now I have this on my C:\Python26\Lib\site-
packages directory:
<DIR> MySQLdb
<DIR> MySQL_python-1.2.2-py2.6.egg-info
_mysql.pyd
_mysql_exceptions.py
_mysql_exceptions.pyc
_mysql_exceptions.pyo
...
Next I tried : import MySQLdb and get this :
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
import MySQLdb
File "C:\Python26\Lib\site-packages\MySQLdb\__init__.py", line 34,
in <module>
from sets import ImmutableSet
File "C:\Python26\lib\sets.py", line 85, in <module>
stacklevel=2)
File "C:\Python26\lib\warnings.py", line 29, in _show_warning
file.write(formatwarning(message, category, filename, lineno,
line))
TypeError: idle_formatwarning_subproc() takes exactly 4 arguments (5
given)
I am a beginner in python - what shall I do to get MySQL working with
python and django ?
Thanks - Petur Orn
On Feb 8, 10:46 pm, Technicalbard <[email protected]> wrote:
> If you are looking for this, I compiled it using MSVC++2008 Express,
> against MySQL 5.0.67 usingPython2.6and theMySQLdb1.2.2 source:
>
> http://www.technicalbard.com/files/MySQL-python-1.2.2.win32-py2.6.exe
>
> Hope it helps anyone who was looking.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---