Re: Error Importing MySQLdb

2012-01-08 Thread John Nagle
On 1/8/2012 5:23 PM, Benjamin Kaplan wrote: On Sun, Jan 8, 2012 at 5:37 PM, davidfx wrote: I am not sure what file you mean. Where should I look for the file you are talking about? By the way MySQL works fine within MAMP. Thanks for your suggestions. Like I said, it's likely an architect

Re: Error Importing MySQLdb

2012-01-08 Thread Benjamin Kaplan
On Sun, Jan 8, 2012 at 5:37 PM, davidfx wrote: > I am not sure what file you mean.  Where should I look for the file you are > talking about?  By the way MySQL works fine within MAMP. > > Thanks for your suggestions. Like I said, it's likely an architecture issue. If you have a 32-bit MySQL ins

Re: Error Importing MySQLdb

2012-01-08 Thread Dave Angel
On 01/08/2012 05:37 PM, davidfx wrote: I am not sure what file you mean. Where should I look for the file you are talking about? By the way MySQL works fine within MAMP. Thanks for your suggestions. In most Linux/Unix systems, there is a file utility on the system PATH. To find the type of

Re: Error Importing MySQLdb

2012-01-08 Thread davidfx
I am not sure what file you mean. Where should I look for the file you are talking about? By the way MySQL works fine within MAMP. Thanks for your suggestions. -- http://mail.python.org/mailman/listinfo/python-list

Re: Error Importing MySQLdb

2012-01-08 Thread Benjamin Kaplan
On Sun, Jan 8, 2012 at 4:37 PM, David George wrote: > Hello there, > I have been trying for awhile now to get MySQLdb working. I am currently > getting this error when trying to import it: > import MySQLdb > > Traceback (most recent call last): File "", line 1, in File > "build/bdist.macosx-1

Error Importing MySQLdb

2012-01-08 Thread David George
Hello there, I have been trying for awhile now to get MySQLdb working. I am currently getting this error when trying to import it: >>> import MySQLdb Traceback (most recent call last): File "", line 1, in File "build/bdist.macosx-10.7-intel/egg/MySQLdb/init.py", line 19, in File "build/bdist

Re: importing MySQLdb

2011-12-30 Thread Ned Deily
In article <4efb9d6d.3080...@gmail.com>, Dilara Ally wrote: > I'm trying to import the MySQLdb for python. I downloaded the proper > setuptools egg (ver2.7) for a Mac with OSX10.6 > > I then downloaded the MySQL-python-1.2.3 and ran the following commands > > python setup.py build > sudo pyth

importing MySQLdb

2011-12-28 Thread Dilara Ally
Hi All I'm trying to import the MySQLdb for python. I downloaded the proper setuptools egg (ver2.7) for a Mac with OSX10.6 I then downloaded the MySQL-python-1.2.3 and ran the following commands python setup.py build sudo python setup.py install Then to test that the module was properly loa

Re: Python not importing mysqldb

2009-04-26 Thread Ioannis Lalopoulos
On Apr 25, 11:45 pm, 83nini <83n...@gmail.com> wrote: > On 25 Apr, 18:35, Marco Bizzarri wrote: > > > > > > > On Fri, Apr 24, 2009 at 10:04 PM, 83nini <83n...@gmail.com> wrote: > > > hi guys, > > > > i've been sweating the whole day trying to make python work with mysql > > > but in vain! > > > i'

Re: Python not importing mysqldb

2009-04-25 Thread 83nini
On 25 Apr, 18:35, Marco Bizzarri wrote: > On Fri, Apr 24, 2009 at 10:04 PM, 83nini <83n...@gmail.com> wrote: > > hi guys, > > > i've been sweating the whole day trying to make python work with mysql > > but in vain! > > i'm doing the following: > > 1. visitinghttp://sourceforge.net/projects/mysql-

Re: Python not importing mysqldb

2009-04-25 Thread Marco Bizzarri
On Fri, Apr 24, 2009 at 10:04 PM, 83nini <83n...@gmail.com> wrote: > hi guys, > > i've been sweating the whole day trying to make python work with mysql > but in vain! > i'm doing the following: > 1. visiting http://sourceforge.net/projects/mysql-python > 2. dowloading mysql-python-test-1.2.3c1 > 3

Re: Python not importing mysqldb

2009-04-24 Thread Jerry Hill
On Fri, Apr 24, 2009 at 4:04 PM, 83nini <83n...@gmail.com> wrote: > hi guys, > > i've been sweating the whole day trying to make python work with mysql > but in vain! > i'm doing the following: > 1. visiting http://sourceforge.net/projects/mysql-python > 2. dowloading mysql-python-test-1.2.3c1 > 3.

Re: Python not importing mysqldb

2009-04-24 Thread Christian Heimes
83nini schrieb: > hi guys, > > i've been sweating the whole day trying to make python work with mysql > but in vain! > i'm doing the following: > 1. visiting http://sourceforge.net/projects/mysql-python > 2. dowloading mysql-python-test-1.2.3c1 > 3. extracting the files to C:\Python26\Lib\site-pac

Re: Python not importing mysqldb

2009-04-24 Thread Emile van Sebille
83nini wrote: hi guys, i've been sweating the whole day trying to make python work with mysql but in vain! i'm doing the following: 1. visiting http://sourceforge.net/projects/mysql-python 2. dowloading mysql-python-test-1.2.3c1 3. extracting the files to C:\Python26\Lib\site-packages From tha

Python not importing mysqldb

2009-04-24 Thread 83nini
hi guys, i've been sweating the whole day trying to make python work with mysql but in vain! i'm doing the following: 1. visiting http://sourceforge.net/projects/mysql-python 2. dowloading mysql-python-test-1.2.3c1 3. extracting the files to C:\Python26\Lib\site-packages 4. writing "import MySQLdb

Re: Undefined symbol __pure_virtual when importing MySQLdb

2007-01-05 Thread hg
[EMAIL PROTECTED] wrote: > I downloaded MySQL-python-1.2.1 from SourceForge and installed it on a > Mandrake system (Mandrake Linux 9.2 3.3.1-2mdk on linux2). > > The installation was successful. The gcc version is 3.3. > > My Python version is 2.4.2. When I import MySQLdb, I get an error > wh

Re: Undefined symbol __pure_virtual when importing MySQLdb

2007-01-05 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: > Fredrik Lundh wrote: > > [EMAIL PROTECTED] wrote: > > > > > I have googled hard, and did see someone asking the same question, but > > > haven't found a good solution to this problem. Could anyone give me a > > > hint? Thanks a lot! > > > > googling for "undefined symbo

Re: Undefined symbol __pure_virtual when importing MySQLdb

2007-01-04 Thread [EMAIL PROTECTED]
Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > I have googled hard, and did see someone asking the same question, but > > haven't found a good solution to this problem. Could anyone give me a > > hint? Thanks a lot! > > googling for "undefined symbol: __pure_virtual" brings up hundreds of

Re: Undefined symbol __pure_virtual when importing MySQLdb

2007-01-04 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > I have googled hard, and did see someone asking the same question, but > haven't found a good solution to this problem. Could anyone give me a > hint? Thanks a lot! googling for "undefined symbol: __pure_virtual" brings up hundreds of posts on this topic, and the ans

Undefined symbol __pure_virtual when importing MySQLdb

2007-01-04 Thread [EMAIL PROTECTED]
I downloaded MySQL-python-1.2.1 from SourceForge and installed it on a Mandrake system (Mandrake Linux 9.2 3.3.1-2mdk on linux2). The installation was successful. The gcc version is 3.3. My Python version is 2.4.2. When I import MySQLdb, I get an error which says that __pure_virtual is an undef

Re: Problem in importing MySQLdb

2005-01-20 Thread Andy Dustman
Gurpreet Sachdeva wrote: > Is there any problem in library files?? Do I need to install anything > I have installed MySQL-shared-3.23.54a-1.i386.rpm, > MySQL-devel-5.0.2-0.i386.rpm, MySQL-client-5.0.2-0.i386.rpm, > MySQL-server-5.0.2-0.i386.rpm You should recheck those version numbers carefully.

Re: Problem in importing MySQLdb

2005-01-20 Thread deelan
Gurpreet Sachdeva wrote: I am using Mysql version 5.0.2-alpha on RedHat 9.0 (python2.2) When I try to import MySQldb i' not completely sure mysqldb works with mysql 5.0 and its bundled client libraries. to be more precise: '' MySQL-5.0 and newer are not currently supported, but might work.'' from:

Problem in importing MySQLdb

2005-01-20 Thread Gurpreet Sachdeva
I am using Mysql version 5.0.2-alpha on RedHat 9.0 (python2.2) When I try to import MySQldb I get: Python 2.2.2 (#1, Feb 24 2003, 19:13:11) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import MySQLdb Traceback (m