The system cannot find the file specified

View: New views
4 Messages — Rating Filter:   Alert me  

The system cannot find the file specified

by leegold58 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I hit Go for a Python program and I get:

"The system cannot find the file specified"

I see the FAQ entry but still do not understand what to do.

1. Exactly what file do I give it a path to?

2. Exactly where do I enter this path so Scite will know?

Thanks

--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze

_______________________________________________
Scite-interest mailing list
Scite-interest@...
http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: The system cannot find the file specified

by Robert Roessler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lee Gold wrote:
> I hit Go for a Python program and I get:
>
> "The system cannot find the file specified"
>
> I see the FAQ entry but still do not understand what to do.
>
> 1. Exactly what file do I give it a path to?
>
> 2. Exactly where do I enter this path so Scite will know?

0) make sure you have an installed and working Python

1) you probably want the main Python executable [directory] on your path

2) the last few chunks of python.properties

Robert Roessler
robertr@...
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
Scite-interest@...
http://mailman.lyra.org/mailman/listinfo/scite-interest

Parent Message unknown Re: The system cannot find the file specified

by leegold58 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> ----- Original Message -----
> From: "Robert Roessler" <robertr@...>
> To: "Discussion of the SciTE editor" <scite-interest@...>
> Subject: Re: [scite] The system cannot find the file specified
> Date: Sat, 25 Aug 2007 21:51:23 -0700
>
>
> Lee Gold wrote:
> > I hit Go for a Python program and I get: "The system cannot find
> > the file specified"
> >
> > I see the FAQ entry but still do not understand what to do. 1.
> > Exactly what file do I give it a path to?
> >
> > 2. Exactly where do I enter this path so Scite will know?
>
> 0) make sure you have an installed and working Python

Yes it works fine in PythonWin editor.

>
> 1) you probably want the main Python executable [directory] on your path

C:\Python21\python.exe

or

C:\Python21\pythonw.exe

Which one please?

>
> 2) the last few chunks of python.properties

Exactly where? I tried a few variations w/no luck.

Sorry I'm a sub-genius - you'll have to tell me exactly what string to place exactly where please.

Thanks,
Lee G.





>
> Robert Roessler
> robertr@...
> http://www.rftp.com
> _______________________________________________
> Scite-interest mailing list
> Scite-interest@...
> http://mailman.lyra.org/mailman/listinfo/scite-interest

>


--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

Powered by Outblaze

_______________________________________________
Scite-interest mailing list
Scite-interest@...
http://mailman.lyra.org/mailman/listinfo/scite-interest

Re: The system cannot find the file specified

by Robert Roessler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lee Gold wrote:

>> ----- Original Message -----
>> From: "Robert Roessler" <robertr@...>
>> To: "Discussion of the SciTE editor" <scite-interest@...>
>> Subject: Re: [scite] The system cannot find the file specified
>> Date: Sat, 25 Aug 2007 21:51:23 -0700
>>
>>
>> Lee Gold wrote:
>>> I hit Go for a Python program and I get: "The system cannot find
>>> the file specified"
>>>
>>> I see the FAQ entry but still do not understand what to do. 1.
>>> Exactly what file do I give it a path to?
>>>
>>> 2. Exactly where do I enter this path so Scite will know?
>> 0) make sure you have an installed and working Python
>
> Yes it works fine in PythonWin editor.

Good.  So you are on Windows...

>> 1) you probably want the main Python executable [directory] on your path
>
> C:\Python21\python.exe
>
> or
>
> C:\Python21\pythonw.exe
>
> Which one please?

Personally, I would bet on the pythonw, myself.

>> 2) the last few chunks of python.properties
>
> Exactly where? I tried a few variations w/no luck.

Properties files are fairly readable, especially the things you need to
tweak. ;)

When looking at the end of the python.properties file, you will notice
that there are two "if" blocks... since we have established that you are
on Windows, the "if PLAT_WIN" looks interesting, right?

So there are two lines that might make sense for you to adjust: 76 and
78.  Just insert the "C:\Python21\" from your text above in front of the
occurrences of "pythonw" on these two lines, then save python.properties
and restart SciTE for good measure (the restart may not be required).

BTW, I am not a Python-head like Neil, but version 2.1 may be a bit old?

Robert Roessler
robertr@...
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
Scite-interest@...
http://mailman.lyra.org/mailman/listinfo/scite-interest
LightInTheBox - Buy quality products at wholesale price!