Comments (5)
Can you show your process of compiling to an .exe program. I never tried to package something with customtkinter, but the error means that the external files (not the .py files) of the library were not copied to the new standalone app.
from customtkinter.
https://www.geeksforgeeks.org/convert-python-script-to-exe-file/amp/
I used this method this is the generalized method,
I also tried to convert your examples which you gave in the github same error happened for that too.
from customtkinter.
I looked at this guide: https://dev.to/eshleron/how-to-convert-py-to-exe-step-by-step-guide-3cfi
And it states that the one-file-option, what you did above, is only suitable for programs without media files. But customtkinter needs media files. The library does not only contain .py files, but also .json and .otf font files. So I think you need to use the other option which is described in the guide, which creates a folder in addition to the .exe file.
from customtkinter.
Thanks it worked :) amazing I think so you should add this in the documentation or is this common thing idk but I added the directory of customtkinter in the py to exe converter and it worked !
from customtkinter.
Yeah I got it to work too, with this method. I don't know if this will work for everyone, or if its a good idea to add a library this way, but it works for now. I will add this in the documentation!
from customtkinter.
Related Issues (20)
- Bind "Enter Key" to button does not work HOT 4
- Switch does not go to the required position HOT 1
- ctk.CTk().state("zoomed") doesn't work HOT 1
- Invoking .geometry(), .winfo_height() or .winfo_width() on a window always returns 200 HOT 7
- Transparent Window HOT 2
- How to allow windows to overlap though it is topmost window like widgets? HOT 6
- focus_set() does not work HOT 1
- install CustomTkinter with conda HOT 1
- Image Button Transparent Borders HOT 10
- ctk.CTkComboBox changing states takes longer for every time state has been changed
- Label is not getting added inside ScrollableFrame! HOT 9
- How to init my class for using _set_appearence_mode? HOT 1
- doesnt properly show unicode icons HOT 2
- CTkComboBox & CTkOptionMenu second click to close the dropdown HOT 1
- iconphoto is not working HOT 3
- Vertical scroll bar does not work at all HOT 1
- Adjustable Frames HOT 2
- Line numbers for CTkTextBox HOT 3
- How do i remove the text over the image HOT 2
- OptionMenu cut off HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from customtkinter.