From: Nils W. <nw...@me...> - 2001-11-19 16:59:02
|
Hi, It seems to me that there is a conflict between Vpython and Numpy. To make this clear check the following example from Numeric import * from visual import * from RandomArray import * # from visual import * # conflict with Numpy print random((2,3)) Visual-2001-09-24 [[ 0.82224834 0.79405266 0.1088888 ] [ 0.36729395 0.4097493 0.35424358]] but if one activates the line just before print random Visual-2001-09-24 Traceback (most recent call last): File "random.py", line 5, in ? print random((2,3)) TypeError: random() takes exactly 1 argument (2 given) Any suggestion ? Nils |