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

Pygubu-Designer doesn't open up #225

Open
gmayo1947 opened this issue Nov 16, 2023 · 5 comments
Open

Pygubu-Designer doesn't open up #225

gmayo1947 opened this issue Nov 16, 2023 · 5 comments

Comments

@gmayo1947
Copy link

Hi @alejandroautalan
I am having trouble running the designer. When I start the executable, i get two messageboxes. The first says "Failed to load widget module: Pygubu.Plugins.customkinter.windows". Closing this opens another messagebox which says "Failed to load widget model: pygubu.plugins.customtkinter.widgets". when I close this messagebox, the program shuts down.

Pygubu and Designer were installed via Pip and are the latest available versions (0.31 and 0.36 respectively).
I am running on Windows 10 fully updated and running Python 3.12.

@alejandroautalan
Copy link
Owner

Hello @gmayo1947 thanks for trying pygubu.

It seems that you have customtkinter installed, what version is it?
Let me know.

Regards
Alejandro A.

@gmayo1947
Copy link
Author

Hi @alejandroautalan
The installed version of customtkinter is 5.2.1.
There is no doubt that that it is ctk that is the issue. If i uninstall ctk, then the program runs as expected. I did try installing an earlier version (5.2.0) but had the same problem with plugin failure.

@gmayo1947
Copy link
Author

hi @alejandroautalan
With a bit more searching , it appears that customtkinter is not compatible with Python 3.12, at least not at the moment. Uninstalling it will provide a temporary fix until there is an update.

@gmayo1947
Copy link
Author

On the customtkinter gihub site, some mentioned installing the packaging module - pip install packaging. After installing this package, this seems to resolve the issue and pygubu-designer now opens.

@alejandroautalan
Copy link
Owner

Thank you @gmayo1947 for the information.
I will do some research also, to keep the plugin working.

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

2 participants