locaal-ai / lexisynth

Real-time AI language processor for transcription, translation and speech synthesis
MIT License
18 stars 4 forks source link

Cannot Run pyinstaller #5

Open brucerothwell opened 4 months ago

brucerothwell commented 4 months ago

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 commented 4 months ago

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