Thanks for the reply. Unfortunately, I still can't figure out the
problem. Here's a sh session (started in bash):

sh-3.2$ which python
/Library/Frameworks/Python.framework/Versions/Current/bin/python
sh-3.2$ python
EPD with Py2.5 (4.0.30002 ) -- http://www.enthought.com/epd

Python 2.5.2 |EPD with Py2.5 4.0.30002 | (r252:60911, Oct 15 2008, 16:58:38)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>






On Fri, Jan 16, 2009 at 9:28 PM, Bennett Helm <bewih...@gmail.com> wrote:
> On Fri, Jan 16, 2009 at 11:28 AM, John Schulman <jos...@caltech.edu> wrote:
>> I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
>> the Lyx-installer I get the following error:
>> AppleScript Error
>> sh: python: command not found
>>
>> I definitely have python installed. My default version is from the
>> enthought distribution (not the original Leopard installation)
>> 'which python' typed into bash returns
>> /Library/Frameworks/Python.framework/Versions/Current/bin/python
>
> And that's a path you probably don't have set for sh (as opposed to
> bash), which is why you're getting the error.
>
> The installer presupposes that you have default installations of tools
> like python. You can either create a link for python in a folder
> within your sh path or add your installation of python to the sh path
> before running the installer.
>
> Bennett
>
>

Reply via email to