[vtkusers] new to vtk / python - some probs

Dean Inglis dean.inglis at camris.ca
Fri Apr 1 13:51:11 EDT 2011


I am exploring use of python and wxWidgets with VTK.
I have downloaded and installed Python 2.6 and wxWidgets 2.83 on Win7
with the following installers:

python-2.6.4.msi
numpy-1.3.0-win32-superpack-python2.6.exe
scipy-0.7.1-win32-superpack-python2.6.exe
wxPython2.8-win32-ansi-2.8.10.1-py26.exe

I have compiled VTK latest git shared build, debug,
32 bit with VS 2010.  In my build dir, vtk/Wrapping/Python
I ran
python setup.py install --prefix=C:\Python26 BUILD_TYPE=Debug
swtiched to my source dir
VTK/Examples/Tutorial/Step1/Python
ran
python Cone.py
and I get the following
Traceback (most recent call last):
  File "Cone.py", line 13, in <module>
    import vtk
  File "C:\Python26\lib\site-packages\vtk\__init__.py", line 41, in <module>
    from vtkCommonPython import *
ImportError: DLL load failed: The specified module could not be found.

are there other path or envars that need setting? 




More information about the vtkusers mailing list