Re: Python 2.7.1 and VPython 5.4 on OS X 10.5.8 broken?

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
The code in /ttfquery/glyph.py looks like this:

try:
    import numpy as Numeric
except ImportError, err:
    import Numeric

So the real problem seems to be that numpy isn't installed, which is
odd, since the VPython installer installs numpy.

Please report what folders you see in

    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/

There should be a numpy folder.

Bruce Sherwood

On Tue, Jan 4, 2011 at 1:13 PM, Joe Heafner <[email protected]> wrote:
> I'm trying hard to update my classroom MacBooks running 10.5.8 to Python 2.7
> and VPython 5.4. However, upon running
> from visual import *
> sphere()
> from VIDLE I get this:
> ImportError: numpy.core.multiarray failed to import
> Traceback (most recent call last):
>   File "Untitled", line 1
>     from visual import *
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py",
> line 1
>     from .visual_all import *
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/visual_all.py",
> line 1
>     from vis import version
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/__init__.py",
> line 7
>     from .primitives import (arrow, cylinder, cone, sphere, box, ring,
> label,
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vis/primitives.py",
> line 9
>     from ttfquery import describe, glyphquery, glyph
>   File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ttfquery/glyph.py",
> line 6
>     import Numeric
> ImportError: No module named Numeric
>>>>
> I've looked through the docs; I'm lost. Anyone else seeing this behavior?
> Joe
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Visualpython-users mailing list
> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.