Re: [Pythonmac-SIG] Interactive shell

2005-11-24 Thread Michael J. Barber
On Nov 23, 2005, at 4:37 PM, Chris Barker wrote: > I've never been able to figure out when to use .profile vs .bashrc, but > I thought it had to do with only one of them being run when a subshell > was started, or something like that. > That's basically it. For a login shell, .profile is run; you

Re: [Pythonmac-SIG] Interactive shell

2005-11-23 Thread Chris Barker
I've never been able to figure out when to use .profile vs .bashrc, but I thought it had to do with only one of them being run when a subshell was started, or something like that. I do note that on both my OS-X and Linux boxes, /etc/profile sources bashrc, and uses bash syntax, so it sure looks

Re: [Pythonmac-SIG] Interactive shell

2005-11-23 Thread Henning.Ramm
>than one way, but I think the most common is to create a file called >.profile, and put it in your home directory. Put in this line: > >export PATH=$PATH:/usr/local/bin I'd use '.bashrc' or '.bash_profile', because 'export' is bash syntax -- '.profile' should be read by any shell, and tcsh (e.g

Re: [Pythonmac-SIG] Interactive shell

2005-11-22 Thread Ronald Oussoren
On 22-nov-2005, at 17:56, Abe Mathews wrote: > You need to create a link in /usr/bin to python2.4. > > If at the prompt you do a > $ ls -lai /usr/bin/python* > > You should see files for python, python2.3, and python2.4. Not if you installed the official installer DMG, it installs the interprete

Re: [Pythonmac-SIG] Interactive shell

2005-11-22 Thread Jeremy Conlin
This is a much better solution. Sorry I didn't read the archives first. Jeremy On 11/22/05, Chris Barker <[EMAIL PROTECTED]> wrote: > Abe Mathews wrote: > > You need to create a link in /usr/bin to python2.4. > > Sorry Abe, but: > > DON'T DO THAT > > There are standard ways to do things that wi

Re: [Pythonmac-SIG] Interactive shell

2005-11-22 Thread Abe Mathews
On 11/22/05 12:19 PM, "Chris Barker" <[EMAIL PROTECTED]> wrote: > Abe Mathews wrote: >> You need to create a link in /usr/bin to python2.4. > > Sorry Abe, but: > > DON'T DO THAT My apologies for error propagation, then. Abe Mathews ___ Pythonmac-S

Re: [Pythonmac-SIG] Interactive shell

2005-11-22 Thread Chris Barker
Abe Mathews wrote: > You need to create a link in /usr/bin to python2.4. Sorry Abe, but: DON'T DO THAT There are standard ways to do things that will prevent you from messing up your system. Rule of thumb: don't mess with anything in /usr or /system. That's Apple's job. When you add things,

Re: [Pythonmac-SIG] Interactive shell

2005-11-22 Thread Abe Mathews
You need to create a link in /usr/bin to python2.4. If at the prompt you do a $ ls -lai /usr/bin/python* You should see files for python, python2.3, and python2.4. All of these are links - python2.3 and python2.4 should link back to their respective framework directories (on my machine, 2.3 is i

[Pythonmac-SIG] Interactive shell

2005-11-22 Thread Jeremy Conlin
I just installed/upgraded python by using the package from http://undefined.org/python/MacPython-OSX-2.4.1-1.dmg. I just want the latest version of python so I can use matplotlib (among other things). However, it doesn't seem that the python I use from the terminal is version 2.4.x. What must I