easyGUI, anyone? Or apricots?
According to the web, the package to download and install easyGUI is python-easygui. So, sudo apt-get install python-easygui should do the trick? It seemed so, according to Terminal. Then, in a py script, I should be able to import python-easygui? Terminal says NO! No such thing. import easygui? Not on your Nelly! import python-easygui * ? Syntax error. Google is not my friend in this, nor are the forum searches. Is this something to do with a need for another dtoverlay, I ask myself? If so, quite what? ISTR the arabs have a saying, 'bukhra, inshallah, fi'l mishmish' . . . tomorrow, if god wishes, there will be apricots, so apricot-hopes are high right now, in this heathen mind.
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
Re: easyGUI, anyone? Or apricots?
According to the web, you import it as easygui. Try installing it with pip and try again as import easygui
Should do it.
Code: Select all
sudo pip install easygui
There are 10 types of people: those who understand binary and those who don't.
Re: easyGUI, anyone? Or apricots?
Install easygui:
Note easygui needs x windows running...
Code: Select all
sudo apt-get install python-easygui
Code: Select all
import easygui
easygui.msgbox("hello world")
Android app - Raspi Card Imager - download and image SD cards - No PC required !
Re: easyGUI, anyone? Or apricots?
Thanks. Unfortunately that's how I did install it, with the failure results I mentioned, plus trying later also to include in /boot/config.txt, when it didn't work:- dtoverlay=python-easyguimikerr wrote:Install easygui:
Code: Select all
sudo apt-get install python-easygui
Note easygui needs x windows running...Code: Select all
import easygui easygui.msgbox("hello world")
If not python-easygui, does anyone have a recent install of a close simple equivalent? I see there is a very long list of (many now-also-unsupported) equivalents.
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
Re: easyGUI, anyone? Or apricots?
I would try installing it via pip like I showed and see if that helps.
There are 10 types of people: those who understand binary and those who don't.
Re: easyGUI, anyone? Or apricots?
Thanks. I haven't got pip installed, so I tried sudo apt-get install pip and Terminal said there was no such packet, so now searching for a HowTo. If it works out, I'll report back laterkusti8 wrote:According to the web, you import it as easygui. Try installing it with pip and try again as import easygui
Should do it.Code: Select all
sudo pip install easygui

If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
Re: easyGUI, anyone? Or apricots?
Pip's package name is python-pip
There are 10 types of people: those who understand binary and those who don't.
Re: easyGUI, anyone? Or apricots?
I think I may have become caught up in the 'python 2 or python3' wars? Pip seems to install under python 2.7 and I have python 3.4 installed here. So even after installing pip, apparently I can't use it, as Terminal still reports no such file etc. Anyway, thanks for trying, I'll try to move on to a different GUI-thing.kusti8 wrote:Pip's package name is python-pip
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
- Jednorozec
- Posts: 809
- Joined: Sun Nov 24, 2013 2:17 pm
- Location: Deposit, NY
Re: easyGUI, anyone? Or apricots?
If you're running python3 then you need to install python3-easygui. I installed both versions and it works for both python2 and python3. If you want to use pip for something then you need to install python3-pip.
The most important leg of a three legged stool is the one that's missing.
It's called thinking. Why don't you try it sometime?
It's called thinking. Why don't you try it sometime?
Re: easyGUI, anyone? Or apricots?
Ah!! Excellent. A small glimmer of light breaks through, thanks to that. I'm off to give them both a try.Jednorozec wrote:If you're running python3 then you need to install python3-easygui. I installed both versions and it works for both python2 and python3. If you want to use pip for something then you need to install python3-pip.
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
Re: easyGUI, anyone? Or apricots?
That's where I went wrong, many thanks for the cures. Both pip and easygui now work here.Jednorozec wrote:If you're running python3 then you need to install python3-easygui. I installed both versions and it works for both python2 and python3. If you want to use pip for something then you need to install python3-pip.
If discrimination is not challenged then we are effectively in collusion with the perpetrators of such behaviour:-Oxford dictionaries
Re: easyGUI, anyone? Or apricots?
Just to sum up, choose one of the following, depending on your chosen flavour of Python:
sudo pip install easygui
sudo pip-3.2 install easygui
sudo pip install easygui
sudo pip-3.2 install easygui