I am the professor in charge of an M&I course at Purdue University, trying to install vpython on a new MacBook Air with the 1.7GHz intel Core i7 processor, running MacOSX 10.8.4 .
for the installation of python and vpython.
No installation errors, and I restarted the computer to be sure it all "took".
On the same webpage, under "How to run VPython", the 4th instruction is
"Press F5 to run...."
At this point, I get the following error message:
-------------------------
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "/Applications/VPython/examples/bounce2.py", line 1
from visual import *
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/__init__.py", line 59
import cvisual
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/cvisual.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/visual/cvisual.so: mach-o, but wrong architecture
>>>
----------------------------
I tried this with a few of the sample programs, and each time it results in a similar error message.
Any help troubleshooting would be most welcome!
Thanks in advance,
Erica Carlson