PDA

View Full Version : [ubuntu] How do I install python-gasp for Python 3?



anthony62490
May 8th, 2010, 05:14 PM
Python 3.1.1 came out about a month ago, but now that I have upgraded, I can no longer import the GASP module

Test Program:


#!/usr/bin/python
from gasp import *

begin_graphics()

Circle((200,200),60)
update_when("key_pressed")
end_graphics()

And the Output:

anthony@anthony-desktop:~$ python Python/BYTE.py
Traceback (most recent call last):
File "Python/BYTE.py", line 2, in <module>
from gasp import *
ImportError: No module named gasp


Importing GASP from Python 2.6 works just fine, but not with 3.1. How/where do I install/move the appropriate files so that I can use GASP?

anthony62490
May 9th, 2010, 07:50 AM
bump

anthony62490
February 19th, 2011, 10:07 PM
Necro-bump? The question is still relevant.