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

packing error with pyinstaller #86

Open
shandy7 opened this issue May 9, 2023 · 4 comments
Open

packing error with pyinstaller #86

shandy7 opened this issue May 9, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@shandy7
Copy link

shandy7 commented May 9, 2023

Hi rdbende
i tried creating a exe for my python code with sun valley theme . I am using auto-py-to-exe to create the exe file. i have added the theme using collect data but on opening the exe file i get the following error.

Traceback (most recent call last):
File "Interlock.py", line 107, in
File "sv_ttk_init_.py", line 19, in wrapper
_tkinter.TclError: couldn't read file "C:\Users\X0132832\AppData\Local\Temp_MEI197282\sv_ttk\sv.tcl": no such file or directory

@rdbende
Copy link
Owner

rdbende commented May 9, 2023

So the solution in #38 doesn't work for you.

Some Windows and Pyinstaller users are needed. I have no idea about this 🤷

@rdbende rdbende added the help wanted Extra attention is needed label May 9, 2023
@shandy7
Copy link
Author

shandy7 commented May 9, 2023

Hi rdbende
The solution in #38 is not working for me .

@ThatRandomCeltic
Copy link

ThatRandomCeltic commented May 18, 2023

@shandy7 I was able to make it work using this exact PyInstaller command on Windows:

py -m PyInstaller --onefile --collect-data sv_ttk CalculatorApp.pyw

This is the same solution as shown in #38 so maybe it won't help but I was having the exact same error as you before I tried this.

I found the solution here: https://stackoverflow.com/a/74872259

@lmjaedentai
Copy link

Make sure the sv_ttk not only installed in the specific venv, but also your global python environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants