1

I am trying to install EasyGui on Python 3.3 and I don't see to have it. I had gotten it to work with Python 2.7 but not for 3.3.

I follow the instructions from their website:


Unpack the archive file into a temporary directory

Open a console window and navigate to the temporary directory.

At the command prompt, enter the command:

python setup.py install


But I keep getting this error when I use the command 'import easygui':

Traceback (most recent call last):

File "/pyshell#0/", line 1, in

import easygui

ImportError: No module named 'easygui'

AndyG
  • 39,700
  • 8
  • 109
  • 143
user2063042
  • 10,577
  • 3
  • 14
  • 6

3 Answers3

2

For Python 3 you need to call python3 when installing it, so instead of

python setup.py install

you must do

python3 setup.py install
Lennart Regebro
  • 167,292
  • 41
  • 224
  • 251
1

Just add "easygui.py" to your site-packages directory. It will work with any editor. I am using Coderunner, and I had the same problem. It took me an hour to figure it out :)

Faridoon
  • 154
  • 2
  • 4
  • 8
1

easy. type pip3 uninstall easygui then pip3 install --user easygui

l. zhang
  • 335
  • 3
  • 5