Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread Subhranath Chunder
On Wed, Aug 10, 2011 at 2:20 PM, babak wrote: > Did that and it didn't fail. > But when I run: > python2.6 manage.py syncdb > > everything works fine, so problem solved. > Your python mysql library binder is currently installed with the python2.6 instance only, and not with python2.5 You might c

Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread babak
Did that and it didn't fail. But when I run: python2.6 manage.py syncdb everything works fine, so problem solved. On 10 Aug, 10:48, Subhranath Chunder wrote: > You can check with the following: > > python manage.py shell > > then do the, > import MySQLdb > > If this fails then you are probably r

Re: MySQLdb module not found even though it's installed.

2011-08-10 Thread Subhranath Chunder
You can check with the following: python manage.py shell then do the, import MySQLdb If this fails then you are probably running on different python environments. On Wed, Aug 10, 2011 at 2:02 PM, babak wrote: > Hi I've installed MySQLdb om my mac and can import it: > > Python 2.6.7 (r267:888

MySQLdb module not found even though it's installed.

2011-08-10 Thread babak
Hi I've installed MySQLdb om my mac and can import it: Python 2.6.7 (r267:88850, Jul 20 2011, 12:30:08) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb But when I try to create database I get the following err