tcreeds / PyCut

PyCut, a pizza-making puzzle game made for RIT IGME-582's final project
https://wiki.sugarlabs.org/go/Activities/PyCut
Mozilla Public License 2.0
0 stars 0 forks source link

Errors Trying to Run PyCut.py #1

Closed adf5051 closed 7 years ago

adf5051 commented 7 years ago

There are failed to start errors when trying to start the .xo file.

When trying to run PyCut.py on the XO we get this stack trace error.

[olpc@acd41290453237683619 PyCut]$ python PyCut.py Traceback (most recent call last): File "PyCut.py", line 3, in from game import PyCutGame as PyCut File "/PyCut/game/init.py", line 3, in from . import scenes, events, objects File "/PyCut/game/scenes/init.py", line 2, in from .help_scene import HelpScene File "/PyCut/game/scenes/help_scene.py", line 3, in from game.objects import Text, Button, STATE File "/PyCut/game/objects/init.py", line 1, in from enum import Enum ImportError: No module named enum

tcreeds commented 7 years ago

enum is the only dependency for this project, and it really isn't necessary in the code. I removed the reference to enum and changed the code that required it. If you install the package (pip install enum34) the program runs, but if you use this fork it should work fine.