I'm using python 3 and I have installed python tkinter and Swampy. When I type
import swampy.TurtleWorld
in python IDLE, it prints
ImportError: No module named 'Tkinter'
I have no idea about the reason. May someone help me? Thank you very much!
I'm using python 3 and I have installed python tkinter and Swampy. When I type
import swampy.TurtleWorld
in python IDLE, it prints
ImportError: No module named 'Tkinter'
I have no idea about the reason. May someone help me? Thank you very much!
To use Swampy in Python 3, you need to install it in a specific way, detailed here: Swampy Installation Instructions (page bottom).
Basically, you will have to download the source code as a zip file, unzip it and make sure that it is reachable by Python. Then you will be able to import TurtleWorld like this:
import TurtleWorld
Or you could just use Python 2 for this project :)