From: Ari H. <ahe...@an...> - 2001-01-15 23:03:39
|
On Sat, Jan 13, 2001 at 07:24:00PM -0000, Nils Wagner wrote: > > wagner@moritz:~ > python > Python 1.5.2 (#1, Jul 29 2000, 14:28:37) [GCC 2.95.2 19991024 (release)] on > linux2 > Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam > >>>from visual import * > Visual-2000-11-26 > >>>from visual.graph import * > Traceback (innermost last): > File "<stdin>", line 1, in ? > File "/usr/lib/python1.5/site-packages/visual/graph.py", line 539 > gvbars.__init__(self, **args) > ^ > SyntaxError: invalid syntax > >>> > Yeah. this is because Visual is trying to use python2 syntax (which is illegal under python 1.5). I discussed this a bit earlier (in fact in response to your question earlier this month). Hopefully I'll have a python2 package in a couple of days, actually. Till then, the graphing stuff won't work right, I'm afraid. Ari PS: please post questions like this to the visualpython-users list, so that people other than me get a chance to respond to this too (takes a lot of load off me). |