The problem is that the Polygon module for Python isn't installed.
That's one of the dependencies. As it says in INSTALL.txt, "For Visual
5.3 and later, you need the Python modules FontTools, ttfquery, and
Polygon. Be sure to get ttfquery 1.0.4 or later."
However, the only object affected by the absence of the Polygon (and
FontTools and ttfquery modules) is the 3D text object, so if you don't
need to use the text object, and you don't want to go to the trouble
of satisfying the dependencies, you could comment out the imports of
these modules in visual/visual_all.py, vis/__init__.py, and
vis/primitives.py. In fact, I'm working on a new version of Visual
which will among other things in the absence of these modules give a
warning that you can't use the text object but you can do everything
else.
Bruce Sherwood
On Mon, Jan 24, 2011 at 6:19 PM, Vineyard, Michael F.
<vin...@un...> wrote:
> Greetings,
>
> I'm trying to get VPython running on my 64-bit fedora 14 machine. It seems to build OK, but when I try to run a program I get the following error:
>
> ImportError: No module named Polygon
>
> Does anyone have an idea what the problem is here?
>
> Mike
>
> --
> Michael F. Vineyard
> Frank & Marie Louise Bailey Professor of Physics
> Department of Physics & Astronomy
> Union College
> Schenectady, NY 12308
> Email: vin...@un...
> Web: http://www1.union.edu/vineyarm
> Phone: (518) 388-8353
> Fax: (518) 388-6947
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
|