This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problem running Scripts in cygwin
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 19 Jun 2008 19:05:47 +0100
- Subject: RE: Problem running Scripts in cygwin
- References: <719d28270806190808m283280eei85282dd302917818@mail.gmail.com> <719d28270806190812wd73479dve7c0678d30ceb216@mail.gmail.com>
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/