Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Bob Ippolito
On Jan 18, 2006, at 9:10 PM, David Warde-Farley wrote: > > On 18-Jan-06, at 2:55 PM, Bob Ippolito wrote: > >> It's fine, unless you want to create redistributable applications. >> If you build an app with a vendor Python, it will only reliably work >> on that version of the OS. Future versions o

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread David Warde-Farley
On 18-Jan-06, at 2:55 PM, Bob Ippolito wrote: > It's fine, unless you want to create redistributable applications. > If you build an app with a vendor Python, it will only reliably work > on that version of the OS. Future versions of Mac OS X will > absolutely throw away Python 2.3 for Python 2.

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Bob Ippolito
On Jan 18, 2006, at 11:25 AM, Russell E. Owen wrote: > In article > <[EMAIL PROTECTED]>, > Chris Porter <[EMAIL PROTECTED]> wrote: > >> Hello, complete python newbie here. >> >> I've got: >> >> OSX 10.4.3 >> Python 2.3.5 >> MySQL 4.1.15-standard >> (of course, all pre-installed, except for MySQL

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Bob Ippolito
On Jan 18, 2006, at 11:28 AM, Russell E. Owen wrote: > In article <[EMAIL PROTECTED]>, > David Warde-Farley <[EMAIL PROTECTED]> wrote: > >> ... >> The MySQLdb module doesn't come standard. And seeing as how I can't >> get it to build properly with Apple's Python (and Apple's Python is >> kind of

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, David Warde-Farley <[EMAIL PROTECTED]> wrote: >... > The MySQLdb module doesn't come standard. And seeing as how I can't > get it to build properly with Apple's Python (and Apple's Python is > kind of icky anyway), here's the rundown: > > Firstly, you'll proba

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Chris Porter <[EMAIL PROTECTED]> wrote: > Hello, complete python newbie here. > > I've got: > > OSX 10.4.3 > Python 2.3.5 > MySQL 4.1.15-standard > (of course, all pre-installed, except for MySQL) > > I don't seem to have the right python module that will allow

Re: [Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread David Warde-Farley
On 16-Jan-06, at 11:44 AM, Chris Porter wrote: > Hello, complete python newbie here. > > I've got: > > OSX 10.4.3 > Python 2.3.5 > MySQL 4.1.15-standard > (of course, all pre-installed, except for MySQL) > > I don't seem to have the right python module that will allow python > to interact with m

[Pythonmac-SIG] MySQLdb lib help

2006-01-18 Thread Chris Porter
Hello, complete python newbie here. I've got: OSX 10.4.3 Python 2.3.5 MySQL 4.1.15-standard (of course, all pre-installed, except for MySQL) I don't seem to have the right python module that will allow python to interact with my MySQL databases. I am completely not a programmer, but I can fol

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Chris Porter
> That's not where it should be. It should be in /Library/Python/2.3/ > site-packages -- the thing is that since he's using the system Python > and old packages, he must install TigerPython23Compat before any of > those old packages will work. > > -bob You folks rock!. Thank you so much, I

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Chris Porter
Found the files, possibly in the wrong place. I found this: System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages(alias) Clicking on the alias brings up these files: Extras.pth README .DS_Store(system file, I know) I also found this: Library/Python/2.3/ Opening

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Chris Porter
> Chris, > > My previous comments assumed that you had installed the framework > build of Python, which if I had read your message better I would have > know was wrong. Sorry, no morning coffee yet. It is possible that > the MySQLdb was installed in the wrong location. As Craig said it

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Chris Porter
> Hi - > > > >>> import MySQLdb > > Traceback (most recent call last): > > File "", line 1, in ? > > ImportError: No module named MySQLdb > > What is the output from > > ls > /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/ > > That's where you should find the M

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Bob Ippolito
That's not where it should be. It should be in /Library/Python/2.3/ site-packages -- the thing is that since he's using the system Python and old packages, he must install TigerPython23Compat before any of those old packages will work. -bob On Jan 16, 2006, at 9:59 AM, Larry Meyn wrote: >

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Larry Meyn
Chris, My previous comments assumed that you had installed the framework build of Python, which if I had read your message better I would have know was wrong. Sorry, no morning coffee yet. It is possible that the MySQLdb was installed in the wrong location. As Craig said it should be in

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Larry Meyn
Chris,You can create or modify the .bash_profile file in your home directory to modify PATH.  An example is shown below.Larry# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then        . ~/.bashrcfi# User specific environment and startup programsPATH=/usr/local/bin:$PATH;export P

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Larry Meyn
My guess is that your PATH needs to have /usr/local/bin prepended to it to make sure the correct python installation is being used when running from the terminal. --Larry On Jan 16, 2006, at 8:56 AM, Chris Porter wrote: > Hello, complete python newbie here. > > I've got: > > OSX 10.4.3 > Pyt

Re: [Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Craig Amundsen
Hi - > >>> import MySQLdb > Traceback (most recent call last): > File "", line 1, in ? > ImportError: No module named MySQLdb What is the output from ls /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/ That's where you should find the MySQLdb directory if it got

[Pythonmac-SIG] MySQLdb Lib Help

2006-01-16 Thread Chris Porter
Hello, complete python newbie here. I've got: OSX 10.4.3 Python 2.3.5 MySQL 4.1.15-standard (of course, all pre-installed, except for MySQL) I don't seem to have the right python module that will allow python to interact with my MySQL databases. I am completely not a programmer, but I can fol