From: Jonathan B. <jbr...@ea...> - 2004-07-26 19:31:54
|
On Mon, 2004-07-26 at 15:07, Bruce Peterson wrote: > >I installed the 2004_07-22 update of VPython. When attempting to run with > >Activestate python 2.3.2 (Windows XP) I got the following error: > > from visual import * > File "C:\Python23\Lib\site-packages\visual\__init__.py", line 21, in ? > from visual.primitives import arrow, cylinder, cone, sphere, box, > ring, label > File "C:\Python23\Lib\site-packages\visual\visual.py", line 21, in ? > copy_reg.pickle(cvisual.VectorType, lambda v: (vector, tuple(v)), vector) > AttributeError: 'module' object has no attribute 'VectorType' > > Updating Python to 2.3.4 didn't help. It looks like declaration is missing > from the pickle library. > > > Bruce Peterson > 425 466 7344 Make sure you remove any existing installations of Visual before upgrading. It appears you have some cruft from an old install. (note: simply removing C:\Python23\Lib\site-packages\visual\visual.py might be enough, or there could be other conflicts). -Jonathan |