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
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.
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
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
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
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
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
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
> 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
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
> 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
> 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
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:
>
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
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
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
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
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
18 matches
Mail list logo