I have tried to solve it to search and search myself, but I can not find it to work Could. :( I'm in Snow Leopard 10.6.4 and tried to install my Django environment, before I upgraded my python in 2.6.5, installed the demo and then mysql_python. Until I used syncdb to mysql All of them seem smoother. / P>
This error / trace message was found: django.core.exceptions.ImproperlyConfigured: Error loading the MySQLdb module: A module named MySQLdb
I have been given the following solution But still it is the same. I believe that there is something like with my dragon version because when I execute Anyone? I think that when I do mysql_python / usr / bin / python
then Python 2.6.1
, but when I am just typing python, it is called 'Python 2.6.5'.
ARCHFLAGS = "- arch x86_64" Usr / bin / python setup.py build
is not new to SL using DGNO version (2.6.1) (2.6.5).
Type:
which dragon
It is detected that the dragon is pulling 2.6.5 (which is not the current python as distributed by the apple). You may be able to symlink / usr / bin / python for your 2.6.5 installation, but it seems that you are asking for trouble.
You can install your mysqldb inside your virtual environment that keep it in the right place. I'm guessing that you have installed Python with .dmg or source but it is fully installed Not done or overwritten on the word provided by Apple.
Comments
Post a Comment