Issues with nonfunctioning VTK under python 2.5

E

Eric Carlson

Hello,

I have tried to install the entire stash of eggs in the svn repository
at enthought using enthought enstaller on Windows XP,and it mostly seems
to have been successful for my python2.5 installation. Unfortunately, I
can not seem to load up my vtk modules. Every time I try to import vtk
from anywhere using python2.5, I get the message

"import vtk
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"c:\python25\lib\site-packages\VTK-5.0.1-py2.5-win32.egg\vtk\__init__.py"
, line 29, in <module>
from common import *
File
"c:\python25\lib\site-packages\VTK-5.0.1-py2.5-win32.egg\vtk\common.py",
line 9, in <module>
from vtkCommonPython import *
ImportError: No module named vtkCommonPython"

I have checked my path, unistalled vtk, reinstalled vtk, added a vtk.pth
file with various plausible paths, changed the name of
vtkCommonPython.dll to vtkCommonPython.pyd (which changes the message to
"ImportError: Module use of python24.dll conflicts with this version of
Python"), but nothing seems to work.

I have a version of enthought sumo python 2.4 installed also which might
cause some conflicts, but so far vtk seems to be the only package that
has not worked correctly (scipy, numpy, matplotlib, PyOpengl, PyODE, and
wxpython2.8 demos all work)

Any suggestions would be greatly appreciated.

Regards,
Eric Carlson
 
R

Robert Kern

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top