<div dir="ltr">Dear VTK users,<div><br></div><div>I'm using Mac 10.9 Maverick on vmware 11, and I want to install VTK for Mayavi, so I download vtk from source and build with Cmake Gui with these options:</div><div>BUILD_DOCUMENTATION:BOOL=OFF<br></div><div>BUILD_EXAMPLES:BOOL=OFF<br></div><div>BUILD_SHARED_LIBS:BOOL=ON<br></div><div>BUILD_TESTING:BOOL=OFF<br></div><div><br></div><div>Module_AutobahnPython:BOOL=ON<br></div><div>Module_SixPythonMBOOL=ON<br></div><div>Module_vtkPython:BOOL=ON<br></div><div>Module_vtkPythonInterpreter:BOOL=ON<br></div><div><br></div><div>VTK_WRAP_PYTHON:BOOL=ON<br></div><div>VTK_WRAP_TCL:BOOL=ON<br></div><div><br></div><div>I set path in .bash_profile like this:</div><div><div>export LD_LIBRARY_PATH=/usr/local/VTKBuild/lib:${LD_LIBRARY_PATH}</div><div><br></div><div>export DYLD_LIBRARY_PATH=/usr/local/VTKBuild/lib:${DYLD_LIBRARY_PATH}</div></div><div><br></div><div>export PYTHONPATH=/usr/local/VTKBuild/Wrapping/Python/vtk:/usr/local/VTKBuild/Wrapping/Python:$PYTHONPATH<br></div><div><br></div><div>export PATH=/usr/local/VTKBuild/bin:$PATH<br></div><div><br></div><div>Everything seems ok:</div><div><br></div><div><div>$vtkpython</div><div>vtk version 6.3.0</div><div>Python 2.7.5 (default, Mar  9 2014, 22:15:05) </div><div>[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div>>>> from vtk import *</div><div>>>> vtk</div><div><module 'vtk' from '/usr/local/VTKBuild/Wrapping/Python/vtk/__init__.pyc'></div></div><div>>>></div><div><br></div><div>But when I install mayavi-4.4.3, I get this error (entier message in attached file):</div><div>  ....</div><div><div>  File "tvtk/code_gen.py", line 10, in <module></div><div>    import vtk</div><div>ImportError: No module named vtk</div></div><div><br></div><div>I also get this message when typing 'import vtkpython' in python:</div><div><br></div><div><div>$ python</div><div>Python 2.7.5 (default, Mar  9 2014, 22:15:05) </div><div>[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin</div><div>Type "help", "copyright", "credits" or "license" for more information.</div><div>>>> import vtkpython</div><div>Traceback (most recent call last):</div><div>  File "<stdin>", line 1, in <module></div><div>ImportError: No module named vtkpython</div></div><div><br></div><div>By the way, I have this lines when I open a terminal, I don't know if it has any effects on the bash?:</div><div><div>-bash: Desktop: command not found</div><div>-bash: Desktop: command not found</div><div>-bash: Desktop: command not found</div><div>-bash: Desktop: command not found</div><div>-bash: Desktop: command not found</div></div><div> </div><div>I've searched in many forum but I didn't find the solution. Does anyone know how to fix it, any help would be greatly appreciated?</div><div><br></div><div>Thank you very much,</div><div><br></div><div>Kim</div></div>