Y keyboard_arrow_up
0
keyboard_arrow_down
EDIT POST
First Post
Mark as Spam
yilik01
Posts: 1 - Registered: 2007-03-18
Hi:
In the UT web site it says we're suppose to use Python 2.52: http://www.cdf.utoronto.ca/~csc148h/winter/python.shtml I am currently using Windows XP SP3 in my laptop. When I ran the following code in my home computer I get the following exception after the highlighted line in yellow: >>> import media >>> f = media.choose_file() >>> pic = media.load_picture(f) >>> Fatal Python error: GC object already tracked This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I checked the UT labs and they're using also Python 2.52. I downloaded and install the following libraries: ?Python Imaging Library (PIL) ?pygame ?numpy ?PyGraphics 2 Am I missing something on my laptop to get the above error? How can I tell which software above is install? Maybe I am missing some software? At the UT lab I was able to run the following successfully and see the picture: >>> import media >>> f = media.choose_file() >>> pic = media.load_picture(f) >>> medial.show(pic) Has anybody managed to get the following code working in Windows XP SP3: >>> import media >>> f = media.choose_file() >>> pic = media.load_picture(f) >>> media.show(pic) Yours, Frustrated. |