Path Error?

15 views
Skip to first unread message

CrimpOn

unread,
Oct 18, 2024, 1:54:56 PMOct 18
to PyInstaller
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?

Chris Barker

unread,
Oct 18, 2024, 2:02:57 PMOct 18
to pyins...@googlegroups.com
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

Chris....@noaa.gov


--
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 pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/a4dd97f4-d027-4e2b-b55c-cffd694088a0n%40googlegroups.com.

Dick Bednar

unread,
Oct 18, 2024, 2:40:56 PMOct 18
to 'Chris Barker' via PyInstaller

Great thought.  I kept trying to install the latest version, but the exe file never changed.  FINALLY seem to have it working correctly again.

THANK YOU for participating in this forum!

You received this message because you are subscribed to a topic in the Google Groups "PyInstaller" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pyinstaller/LNQMk4pQ6E8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pyinstaller...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/CALGmxE%2B0oD5NjTOmaebQ_fxZnF8%2Bg_AxYuxUOQ3QVzYtkYz2rg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages