|
From: Bruce S. <ba...@an...> - 2001-10-08 19:00:41
|
This looks like your copy of visual/graph.py has somehow been damaged; it shouldn't have any syntax errors. On the VPython site, on the download page for any platform, go the the documentation etc. page and get just the visual zip file, from which you can extract a fresh copy of graph.py. Maybe there's a bad copy of graph.py in our Linux distribution files? Bruce Sherwood --On Monday, October 08, 2001 2:34 PM -0400 Kevin Cole <kj...@gr...> wrote: > $ python graphtest.py > Visual-2001-09-24 > Traceback (innermost last): > File "graphtest.py", line 1, in ? > from visual.graph import * > File "/usr/lib/python1.5/site-packages/visual/graph.py", line 544 > gvbars.__init__(self, **args) > ^ > SyntaxError: invalid syntax > $ |