Calvin Cheng wrote on 19 June 2008 16:13: > I am having some trouble getting python to run scripts located in > "/cygdrive/c/Python25/Scripts" in cygwin. I get an error message > saying: > python: can't open file 'rst2html.py': [Errno 2] No such file or directory > > I can run those same scripts in "c:/Python/Scripts" correctly, with no > error, if i am in cmd prompt environment.
You are using windows python, not cygwin python, so there's no way on earth it will ever understand posix file paths. > It really bothers me to have to switch to cmd prompt and cygwin > alternately to get some scripts running and I would love to get this > working in cygwin if someone could point me in the right direction or > have solved a similar problem? Has anyone managed to get this working > in both cmd and cygwin? Use cygwin python, not activestate. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/