Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't find pyinstaller.exe when run build_windows_executable.bat #79

Open
zxt5105515 opened this issue Jun 15, 2024 · 1 comment
Open
Labels
bug documentation Bug or improvement on documentation

Comments

@zxt5105515
Copy link

env:
windows 11
python 3.12.3
pyinstaller 6.8.0

after install i can't find any file named pyinstaller.exe with everything, then found that i need change all pyinstaller.exe to python -m PyInstaller in build_windows_executable.bat

@MestreLion MestreLion added the documentation Bug or improvement on documentation label Jun 17, 2024
@MestreLion
Copy link
Owner

Yeah, this is mentioned in PyInstaller's docs, it has its own section about this, Troubleshooting missing PyInstaller command:

If you cannot use the pyinstaller command due to the scripts directory not being in PATH, you can instead invoke the PyInstaller module, by running python -m PyInstaller

I should do this change, either add this to the documentation, or better yet in build_windows_executable.bat itself

@MestreLion MestreLion added the bug label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug documentation Bug or improvement on documentation
Projects
None yet
Development

No branches or pull requests

2 participants