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
On Sat, Sep 18, 2010 at 2:08 AM, Jagdeep Singh Malhi wrote: > I am using virtualenv 1.5 to install multiple version of django in > same PC. > My Django is works fine with virtualenv, follow this link > http://pypi.python.org/pypi/virtualenv#downloads > but me face problem with MySQLdb when i confi

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

2009-06-15 Thread Adam Stein
LD_LIBRARY_PATH variable is the correct one to use when running from your account (not to go into the discussion as to why some people think LD_LIBRARY_PATH is evil), as evidenced when you run python on the command line. In the case of Django running through a web server, the web server is not pi

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

2009-06-13 Thread NoCleverName
This is the author again. Of course, 10 minutes after I post a question, I find the solution. (After hours of searching beforehand) If anyone else has this problem, the solution for me was: edit /etc/ld.so.conf add the line: /usr/local/mysql/lib then run /etc/ldconfig Fixed the problem righ

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
I have the same problem even though I have installed MySQLdb. On Jul 6, 3:42 pm, "Bryan L. Fordham" <[EMAIL PROTECTED]> wrote: > looks like you need to install > MySQLdb:http://sourceforge.net/projects/mysql-python > > Jalil wrote: > > I keep getting this below error when I try to sync my databa

Re: Error loading MySQLdb module

2007-07-06 Thread Bryan L. Fordham
looks like you need to install MySQLdb: http://sourceforge.net/projects/mysql-python Jalil wrote: > I keep getting this below error when I try to sync my database. > I am using python2.3. Any ideas? > > > > [no job set:~/dev/mysite] 113% python2.3 manage.py syncdb > Traceback (most recent call