Help needed with 'import visual' error
Osemeka Osuagwu <[email protected]> Thu, 5 Jul 2012 09:02:55 +0100
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAF33E7bAJR+vF0c4vAtCU5pHS6kOAF_mYiMRSJByoe2ox6R-gQ@mail.gmail.com> |
*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*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users