On 5/9/06 at 8:34 PM, Jim Correia <[EMAIL PROTECTED]> wrote:
> On May 9, 2006, at 7:30 PM, Andrew Jaffe wrote:
>
> > I've just started using BBEdit and it seems great so far.
> >
> > I use it for a lot of python programming, and I've noticed that the
> > BBEdit actually uses the wrong python interpreter: I've python 2.3
> > in /usr/bin/python and python 2.4 in /usr/local/bin.
>
>
> BBEdit will find which python interpreter to invoke using the
> following logic:
>
...
> - else look for a binary named python in your PATH (*)
...
> (*) Your PATH here means what is available to the BBEdit GUI process
I had a similar problem and it turned out to be the order of the items in my
PATH. From Terminal, try:
echo $PATH | tr ":" "\n"
This will list the search directories in order. If /usr/bin is before
/usr/local/bin, there's your problem. You can just add (or reorder) the PATH
export in your ~/.bashrc file to be:
export PATH=/usr/local/bin:${PATH}
--
The other option is to do:
$ sudo mv /usr/bin/python /usr/bin/python2.3
$ sudo ln -s /usr/local/bin/python /usr/bin/python
to rename the old python and replace it with the new. The second line is
probably not really needed, but you never know who has hard coded its location.
-Gregory
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>