Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-20 Thread Tom Evans
On Tue, Nov 20, 2012 at 2:14 PM, Cj Taylor wrote: > Correct, Sergiy. As I fiddle with this nightly, the core of my issue seems > to be that mysqldb is not yet python3 ready and django 1.5 is calling for > it. I changed my database settings in settings.py to > 'django.db.backends.mysql' which in

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-20 Thread Cj Taylor
Correct, Sergiy. As I fiddle with this nightly, the core of my issue seems to be that mysqldb is not yet python3 ready and django 1.5 is calling for it. I changed my database settings in settings.py to ' django.db.backends.mysql' which in return calls for mysqldb when I do: python manage.py sy

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-19 Thread Sergiy Khohlov
Which version of django ? Is this one version has python 3.x support ? 2012/11/20 Cj Taylor : > ok, so what needs to happen here? Do I need to recode > /usr/local/lib/python3.2/dist-packages/django/db/backends/mysql/base.py to > use this new module? > > > On Sunday, November 18, 2012 4:57:02 PM

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-19 Thread Cj Taylor
ok, so what needs to happen here? Do I need to recode /usr/local/lib/python3.2/dist-packages/django/db/backends/mysql/base.py to use this new module? On Sunday, November 18, 2012 4:57:02 PM UTC-5, iñigo medina wrote: > > > On Sat, 17 Nov 2012, Cj Taylor wrote: > > > That package installs into

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-18 Thread I単igo Medina
On Sat, 17 Nov 2012, Cj Taylor wrote: That package installs into my python directory but not python3. I'm currently trying to get Django 1.5 to work with python3. Are there other ways currently to get mysql to work with django and the python3 environment? Check out pymysql: https://github.c

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-18 Thread I単igo Medina
On Sat, 17 Nov 2012, Cj Taylor wrote: That package installs into my python directory but not python3. I'm currently trying to get Django 1.5 to work with python3. Are there other ways currently to get mysql to work with django and the python3 environment? Check out pymysql: https://github.c

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-18 Thread I単igo Medina
On Sat, 17 Nov 2012, Cj Taylor wrote: That package installs into my python directory but not python3. I'm currently trying to get Django 1.5 to work with python3. Are there other ways currently to get mysql to work with django and the python3 environment? Check out pymysql: https://github.c

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-18 Thread Sandeep kaur
On Sun, Nov 18, 2012 at 4:11 AM, Cj Taylor wrote: > That package installs into my python directory but not python3. I'm > currently trying to get Django 1.5 to work with python3. Are there other > ways currently to get mysql to work with django and the python3 environment? See if this helps : h

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-17 Thread Cj Taylor
That package installs into my python directory but not python3. I'm currently trying to get Django 1.5 to work with python3. Are there other ways currently to get mysql to work with django and the python3 environment? Try this : > sudo apt-get install python-mysqldb > > -- > Sandeep Kaur

Re: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-17 Thread Sandeep kaur
-python.blogspot.com/ that mysqldb won't be ready for 3.0 until > the 1.3 release. So I guess the question is if there's any kind of > workaround at the moment? > > raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) > django.core.exceptions.I

django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb

2012-11-15 Thread Cj Taylor
local/lib/python3.2/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/local/lib/python3.2/dist-packages/django/db/backends/mysql/base.py", line 17, in raise ImproperlyConfigured("Error loading MySQLdb module: %s"

Re: Error loading MySQLdb module with virtualenv (Virtual Python Environment builder)

2010-09-18 Thread Jagdeep Singh Malhi
> Have you created the virtual environment by using the --no-site-packages > command line switch to virtualenv? yes , me using -no-site-packages command > If so, no globally installed module/packages > (among them MySQLdb) will be inherited by the environment. > If you are starting, I'd suggest t

Re: Error loading MySQLdb module with virtualenv (Virtual Python Environment builder)

2010-09-18 Thread Ramiro Morales
MySQLdb when i configure the database in > setting.py file. > > Error is : >  ImproperlyConfigured("Error loading MySQLdb module: %s" % e) > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > module: No module named MySQLdb > > > but  MySQLdb is al

Error loading MySQLdb module with virtualenv (Virtual Python Environment builder)

2010-09-17 Thread Jagdeep Singh Malhi
: ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb but MySQLdb is already installed in my PC and work fine without using virtualenv. I face this problem, when i use Virtual Python Environme

Re: Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-15 Thread Adam Stein
; > then run /etc/ldconfig > > Fixed the problem right up. No idea why or how this worked, but everything > is working now. > > > > NoCleverName wrote: > > > > So I'm having an issue getting Django to work with MySQL. After I log > > into my Dja

Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-13 Thread NoCleverName
So I'm having an issue getting Django to work with MySQL. After I log into my Django site, I get the following error: ImproperlyConfigured: Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory The error is being thrown from

Re: Error loading MySQLdb module: libmysqlclient_r.so.16 - Help please

2009-06-13 Thread NoCleverName
right up. No idea why or how this worked, but everything is working now. NoCleverName wrote: > > So I'm having an issue getting Django to work with MySQL. After I log > into my Django site, I get the following error: > > ImproperlyConfigured: Error loading MySQLdb module: &

Re: Error loading MySQLdb module

2007-08-27 Thread [EMAIL PROTECTED]
where might I find the PYTHONPATH variable? On Aug 11, 6:39 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/11/07, Kelsey Ruger <[EMAIL PROTECTED]> wrote: > > > I have the same problem even though I have installedMySQLdb. > > Open up a Python interpreter, and try: > > importMySQLdb > > If y

Re: Error loading MySQLdb module

2007-08-11 Thread James Bennett
On 8/11/07, Kelsey Ruger <[EMAIL PROTECTED]> wrote: > I have the same problem even though I have installed MySQLdb. Open up a Python interpreter, and try: import MySQLdb If you see an ImportError, MySQLdb may have been installed into a location that's not on your Python import path; you can fix

Re: Error loading MySQLdb module

2007-08-11 Thread Kelsey Ruger
, > > get_creation_module > > File "/usr/lib/python2.3/site-packages/django/db/__init__.py", line > > 11, in ? > > backend = __import__('django.db.backends.%s.base' % > > settings.DATABASE_ENGINE, {}, {}, ['']) > > File > > &qu

Re: Error loading MySQLdb module

2007-07-06 Thread Bryan L. Fordham
, {}, {}, ['']) > File > "/usr/lib/python2.3/site-packages/django/db/backends/mysql_old/base.py", > line 12, in ? > raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e > django.core.exceptions.ImproperlyConfigured: Error loading My

Error loading MySQLdb module

2007-07-06 Thread Jalil
backend = __import__('django.db.backends.%s.base' % settings.DATABASE_ENGINE, {}, {}, ['']) File "/usr/lib/python2.3/site-packages/django/db/backends/mysql_old/base.py", line 12, in ? raise ImproperlyConfigured, "Error loading MySQLdb module: %s" % e django.c