Installation of python easygui

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
xWHOOSHAx

Installation of python easygui

Post by xWHOOSHAx »

inxi -S : Result > Desktop: MATE 1.18.0 Distro: Linux Mint 18.3 Sylvia
python --version : Result >Python 2.7.12
python easygui.py : Result >python: can't open file 'easygui.py': [Errno 2] No such file or directory

Searched for the error and tried
sudo /usr/bin/python2.7 setup.py install : Result :usr/bin/python2.7: can't open file 'setup.py': [Errno 2] No such file or directory

Now I am lost
Help would be appreciated
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Instalation of python easygui

Post by JoeFootball »

xWHOOSHAx wrote:No such file or directory
Are you sure you're in the directory where easygui.py is located?

Joe
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Instalation of python easygui

Post by phd21 »

Hi xWHOOSHAx,

I have it installed for python ver2 and python ver3, but there is no menu item or desktop shortcut launcher? I have not used this before.

But, here is what I did to get demonstration routine to come up on my system. The code is accessed within your programs by including the line below at the top of your code.

Code: Select all

import easygui
EasyGUI — easygui 0.98.1-RELEASED documentation
http://easygui.readthedocs.io/en/master/

Code: Select all

pip install --upgrade easygui
My system recommended these dependencies that you might not need.

Code: Select all

sudo pip install --upgrade prettytable enum-compat


Menu and desktop shortcut launchers can be created for these. I type in "locate easygui" to find these.
For Python3

Code: Select all

python3 /usr/lib/python3/dist-packages/easygui.py
For Python2

Code: Select all

python /usr/lib/python2.7/dist-packages/easygui.py
docs
/usr/share/doc/python-easygui
/usr/share/doc/python3-easygui

Hope this helps ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Locked

Return to “Software & Applications”