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.exe does not appear to work #118

Closed
georgewicks56 opened this issue Jul 28, 2017 · 7 comments
Closed

pygubu-designer.exe does not appear to work #118

georgewicks56 opened this issue Jul 28, 2017 · 7 comments

Comments

@georgewicks56
Copy link

Hi,

I just just recently downloaded and installed pygubu from the tarball on my Windows 7 machine. I followed the procedure for installing pygubu "python setup.py install", which executed just fine.

I then ran pygubu-designer.exe, but after a second nothing happened.

I have Python 3.6.1 installed, along with Anaconda and Tk (I tried "import tkinter" just to be sure, and that was fine).

What could I be missing? Is there any diagnostic steps that I should run?

Thanks,
George Wicks

@georgewicks56
Copy link
Author

Ah, I think I figured it out: when I decided to manually run the Linux/UNIX script pygubu-designer, I got an error from Python:

from pygubudesigner import main
ERROR:pygubudesigner:I can't import module "appdirs". You need to have installed
'appdirs' version 1.3 or higher. Hint, If your are using Debian, install packag
e python3-appdirs.

After I did the "pip install appdirs", I was then able to run the pygubu-designer.exe. Success!

Suggestions: you might want to list the package requirements, like appdirs, and also when you run the pygubu-designer.exe, catch the error and post it to the console.

I think that this could be a really good tool - Thanks!
George

@alejandroautalan
Copy link
Owner

Hello George, thanks for trying pygubu.

I created a new issue to apply your suggestions.
Thanks for the bug report.

Regards
Alejandro A.

@Baseamsatt
Copy link

The same exactly happen to me with the same window 7 and python 3.6 and there is no error , nothing happen at all and i pip install appdirs but the same problem resist

@alejandroautalan
Copy link
Owner

Hello @Baseamsatt thanks for trying pygubu and sorry for the late response.
Try to run pygubu-designer from the windows command:

python3 -m pygubudesigner

And see if you have more errors or dependencies missing.

Regards
Alejandro A.

@DavidCreighton
Copy link

Hi, apologies Im new to Python programming. I installed Python 3.8 on my Win7 64bit system. TKinter works.
I cant open the Pygubu application,I ran the setup file within the Pygubu-designer-master.zip file downloaded from Github. I also ran pip install via cmd direct. I cannot find the .exe file to execute the startup.
Further I have no clue what to do about XML... can you advise if I must download a file to execute.

Perhaps advise if there is a demo tutorial on download and installation?
Thanx

@alejandroautalan
Copy link
Owner

Hello @DavidCreighton, thanks for trying pygubu.

Hi, apologies Im new to Python programming. I installed Python 3.8 on my Win7 64bit system. TKinter works. I cant open the Pygubu application,I ran the setup file within the Pygubu-designer-master.zip file downloaded from Github. I also ran pip install via cmd direct. I cannot find the .exe file to execute the startup. Further I have no clue what to do about XML... can you advise if I must download a file to execute.

Perhaps advise if there is a demo tutorial on download and installation? Thanx

The recommended way to install on windows is using pip.

pip3 install pygubu-designer

After "pip install pygubu-designer" the executable is installed in the "scripts" folder of your python installation. For exampe, if you have python installed in C:\Python38, pygubu-designer is installed in C:\Python38\Scripts\pygubu-designer.exe

Alternatively you can run the following command:

python3 -m pygubudesigner

Regards
Alejandro A.

@DavidCreighton
Copy link

DavidCreighton commented Dec 31, 2023 via email

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

4 participants