Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Cannot Run pyinstaller #5

Open
brucerothwell opened this issue May 17, 2024 · 1 comment
Open

Cannot Run pyinstaller #5

brucerothwell opened this issue May 17, 2024 · 1 comment

Comments

@brucerothwell
Copy link

I got the command "pip -r requirements.txt" to run but cannot get the pyinstaller command to work -- any ideas?

C:\RW_APPS\Git_Repos_Mine\lexisynth-main>pyinstaller --clean --noconfirm lexisynth.spec -- --win
515 INFO: PyInstaller: 6.6.0, contrib hooks: 2024.6
515 INFO: Python: 3.12.3
581 INFO: Platform: Windows-10-10.0.19045-SP0
584 INFO: Removing temporary files and cleaning cache in C:\Users\barothwe\AppData\Local\pyinstaller
588 INFO: Extending PYTHONPATH with paths
['C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main',
 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main']
1448 INFO: Appending 'datas' from .spec
Unable to find 'C:\\RW_APPS\\Git_Repos_Mine\\lexisynth-main\\.env' when adding binary and data files.
@brucerothwell
Copy link
Author

brucerothwell commented May 17, 2024

I seeminly got passed the issue by removing the line calling out the ".dev" file, from the lexisynth.spec file.
However, when I try running the EXE created in the dist folder, I get what is shown in the attached image.

Screenshot 2024-05-17 061948

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant