I’d re-install pyintaller with the python version you want to use, and try
again.

Also, unless you really need them, you might want to uninstall all but one
version of python.

-CHB


Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]


On Fri, Oct 18, 2024 at 10:55 AM CrimpOn <[email protected]> wrote:

> Attempting to run pyinstaller.exe gives error about PATH:
> pyinstaller.exe -h
> Fatal error in launcher: Unable to create process using '"C:\Program
> Files\Python311\python.exe"  "C:\Users\Dick\pyinstaller.exe" -h': The
> system cannot find the file specified.
>
> Yet the Windows 11 PATH shows this:
> path
> PATH=C:\Program Files\Python313\Scripts\;C:\Program
> Files\Python313\;C:\Program Files (x86)\Common
> Files\Oracle\Java\java8path;C:\Program Files (x86)\Common
> Files\Oracle\Java\javapath;C:\Program Files\Python312\Scripts\;C:\Program
> Files\Python312\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
> Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA
> Corporation\NVIDIA NvDLISR;C:\Program Files\HP\HP One Agent;C:\Program
> Files\PuTTY\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Users\Dick\AppData\Local\Programs\Python\Python313\Scripts\;C:\Users\Dick\AppData\Local\Programs\Python\Python313\;C:\Users\Dick\AppData\Local\Microsoft\WindowsApps;
>
> Where is it getting this invalid PATH?
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyinstaller/a4dd97f4-d027-4e2b-b55c-cffd694088a0n%40googlegroups.com
> <https://groups.google.com/d/msgid/pyinstaller/a4dd97f4-d027-4e2b-b55c-cffd694088a0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/CALGmxE%2B0oD5NjTOmaebQ_fxZnF8%2Bg_AxYuxUOQ3QVzYtkYz2rg%40mail.gmail.com.

Reply via email to