2009/5/12 membrede <[email protected]>:
> Hello,
>
> Please see below what I get:
>
> $ make prepare
> /bin/sh: python: command not found

I am assuming you have Python (version 2.5 or 2.6) installed for
Windows (from http://www.python.org/download/). By default, Python
installs to C:\Python25. I usually install it in C:\Program
Files\Python25.

You need to tell cygwin to use the Windows Python version by changing
the path it uses to look up commands. Open a file explorer and go to
your cygwin home dir, usually C:\cygwin\home\<your username>. Open the
.bash_profile with Notepad. Add this line to the end of the file:

PATH=/cygdrive/c/Program\ Files/Python25:/cygdrive/c/Program\
Files/Python25/Scripts:/cygdrive/c/Program\ Files/Graphviz\
2.21/bin:${PATH}

(This is assuming python is installed in C:\Program Files\Python25 and
that GraphViz is installed as well, adapt as needed).

Save the file, open a new bash terminal and try again.

Cheers, Frank

Reply via email to