From: Osemeka O. <aba...@gm...> - 2012-07-05 08:03:07
|
*Hi,* *I came across VPython for the first time, yesterday. I installed it and tried to run some code but my import statement kept causing an error as follows:* * * *Code:* import visual *Error:* Traceback (most recent call last): File "Untitled", line 2 import visual File "C:\Python27\lib\site-packages\visual\__init__.py", line 1 from .visual_all import * File "C:\Python27\lib\site-packages\visual\visual_all.py", line 1 from vis import version File "C:\Python27\lib\site-packages\vis\__init__.py", line 3 from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate, ImportError: DLL load failed: %1 is not a valid Win32 application. *How can I deal with this, please?* *I use Windows7 64bit with Python ver2.7.* *I installed VPython in my C:\Python27 directory* * * *Thanks,* *Abasiemeka* |