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?
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?