Re: MySQLdb will only import for root

2008-07-12 Thread martinnorth
Peter Otten wrote: martinnorth wrote: Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (SuSE Linux

Re: MySQLdb will only import for root

2008-07-11 Thread Peter Otten
martinnorth wrote: > Diez B. Roggisch wrote: >> martinnorth schrieb: >>> Hi, >>> >>> I am running Python and MySQL on Ubuntu and have installed MySQLdb. If >>> I try to import MySQLdb I get the following error: >>> >>> ActivePython 2.5.2.2 (ActiveState Software Inc.) based on >>> Python 2.5.2 (r25

Re: MySQLdb will only import for root

2008-07-11 Thread martinnorth
Diez B. Roggisch wrote: martinnorth schrieb: Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (Su

Re: MySQLdb will only import for root

2008-07-11 Thread Jeffrey Froman
Diez B. Roggisch wrote: >> Is it possible the module was installed with priviledges set too >> strict?  Perhaps the interpreter cannot see the module when it is run >> from a normal user account. > > Possible - certainly. Yet unrealistic, because usually root access is > required to system-wide i

Re: MySQLdb will only import for root

2008-07-11 Thread Diez B. Roggisch
Jeff schrieb: Is it possible the module was installed with priviledges set too strict? Perhaps the interpreter cannot see the module when it is run from a normal user account. Possible - certainly. Yet unrealistic, because usually root access is *required* to system-wide install a package - t

Re: MySQLdb will only import for root

2008-07-11 Thread Peter Otten
martinnorth wrote: > Hi, > > I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I > try to import MySQLdb I get the following error: > > ActivePython 2.5.2.2 (ActiveState Software Inc.) based on > Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) > [GCC 3.3.1 (SuSE Linux)] on

Re: MySQLdb will only import for root

2008-07-11 Thread Jeff
Is it possible the module was installed with priviledges set too strict? Perhaps the interpreter cannot see the module when it is run from a normal user account. -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQLdb will only import for root

2008-07-11 Thread Diez B. Roggisch
martinnorth schrieb: Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (SuSE Linux)] on linux2 Type

MySQLdb will only import for root

2008-07-11 Thread martinnorth
Hi, I am running Python and MySQL on Ubuntu and have installed MySQLdb. If I try to import MySQLdb I get the following error: ActivePython 2.5.2.2 (ActiveState Software Inc.) based on Python 2.5.2 (r252:60911, Mar 27 2008, 16:42:08) [GCC 3.3.1 (SuSE Linux)] on linux2 Type "help", "copyright",