Hi,

I recently set about making a simple application using python with some 3d components, i switched from PyOpenGL, because it was a little bit to complex for what I wanted to do, to VPython, which based on the YouTube video's looks very easy and simple... which is exactly what i want.

But, whenever I try to import the visual module i get:

from visual import *

Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    from visual import *
  File "C:\Python26\lib\site-packages\visual\__init__.py", line 1, in <module>
    from .visual_all import *
  File "C:\Python26\lib\site-packages\visual\visual_all.py", line 1, in <module>
    from vis import version
  File "C:\Python26\lib\site-packages\vis\__init__.py", line 3, in <module>
    from . import cvisual
ImportError: DLL load failed: %1 is not a valid Win32 application.

this also happens with the examples that come with it. I'm running python26 with 64-bit windows 7.

Thanks for any help

Recommended Answers

All 2 Replies

Are you running the 64bit Python version?

Yeah i am, i had a look on the site (vpython.org), but i could see a 64-bit version and there was no help documentation; but if there was i couldnt find it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.