Code: Select all
sudo pip install easyguiCode: Select all
sudo apt-get install python-easyguiCode: Select all
import easygui
easygui.msgbox("hello world")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-easyguiNote easygui needs x windows running...Code: Select all
import easygui easygui.msgbox("hello world")
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
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
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.
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.