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

_tkinter.TclError: couldn't read file "sun-valley.tcl": no such file or directory #32

Closed
muhammadfaruq72 opened this issue Jun 24, 2022 · 4 comments

Comments

@muhammadfaruq72
Copy link

I've done everything but the problem remains the same USING PYINSTALLER! Any Help?
Screenshot 2022-06-24 at 12 12 34 PM

@sumeshir26
Copy link
Contributor

If you use sv-ttk, add --collect-data sv_ttk to the command

@muhammadfaruq72
Copy link
Author

I installed it using pip install sv-ttk but seems like it is not installed properly. it's not collecting module using --collect-data sv_ttk. Even if I try to run program it shows this error
Screenshot 2022-06-24 at 12 21 15 PM
.

@rdbende
Copy link
Owner

rdbende commented Jun 24, 2022

But if you use the sv_ttk module, you don't need to manually call that source blablabla, neither the set_theme dark.
Instead you can simply import sv_ttk and then use sv_ttk.use_dark_theme(). This way it should with Pyinstaller.

@muhammadfaruq72
Copy link
Author

sv_ttk.use_dark_theme()

It works! Thank you 😇

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

No branches or pull requests

3 participants