1

I followed the steps in this post: https://stackoverflow.com/questions/26194747/codeskulptor-simplegui-module-for-python-2-7 , I was looking to run an example code but i have got this error :

Traceback (most recent call last):
File "C:/Python27/exemples/simpleGUI_exeple.py", line 4, in <module>
import SimpleGUICS2Pygame.simpleGUICS2Pygame as simplegui
ImportError: No module named simpleGUICS2Pygame  

what advice could you give me to fix that ? Thx in advance

Community
  • 1
  • 1
NadNet
  • 13
  • 1
  • 2
  • 6

2 Answers2

1

Take a look at this post. It provides the easiest solution to your problem. It contains the link to the guide to install the required module on Windows.

Community
  • 1
  • 1
burseaner
  • 885
  • 2
  • 17
  • 28
1

The process of installing pip, matplotlib and pygame seems insufficient on windows to resolve the error. For me, what I had to do on top of the documented install approach is to:

  1. Go to: https://bitbucket.org/OPiMedia/simpleguics2pygame/downloads

  2. Select the first item "Download Repository". It will download a zip file.

  3. Open the downloaded zip file. Open the contained folder OPiMedia...

  4. There is a SimpleGUICS2Pygame folder under that OPiMedia folder. Copy that into your python source code folder.

This will resolve the error.

paolov
  • 2,139
  • 1
  • 34
  • 43