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
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
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
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
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
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
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
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
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
-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
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"
> 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
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
:
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
;
> 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
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
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:
&
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
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
,
> > 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
, {}, {}, [''])
> 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
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
22 matches
Mail list logo