I want to execute a software that was written for linux initially and uses python and c code . Therefore i installed MinGW including mysys.
Under Linux you start a run.sh script that starts the program:
#! /bin/bash
python some_script.py -i somefile.abc -q
however when i open the MinGw shell and execute the script i get the follwing promt:
$ Python
sh: Python: command not found
Python is installed under C:\Program Files (x86)\Python27 in windows 7.
Inside the "fstab" file under "C:\MinGW\msys\1.0\etc" i added the following lines:
# Win32_Path Mount_Point
#------------------------------------- -----------
C:/MinGW /mingw
C:\Program Files (x86)\Python27 /python
MinGw and mysys are in windows path.
I found the following threads while searching but they do not seem related at all: Link1 Link2
Do i understand my problem correctly, that i have to tell MinGW where the windows python installation is located?