hey all,
i tried compiling vmtk from source code and i failed. During the installation attempt something went wrong and i can't run any python code that uses the vmtk libraries... went back removed evrything from my computer from the source code, vmtk to python27 (because not even python worked anymore...). Than i reinstalled python 27 and vmtk but this time using the vmtk msi ( to be able to use the libraries again)
Still didn't solve the problem: i have a windows 10-64
This are the two paths:
PYTHONPATH: C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\site-packages\vmtk\vtk;C:\Python27\Lib\site-packages\vmtk\bin;C:\Python27\Lib\site-packages\vmtk\lib;
Path: C:\Windows\System32;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\CMake\bin;C:\Python27\Lib\site-packages\vmtk\bin;C:\Python27\Lib\site-packages\vmtk\lib;C:\Python27\Lib\site-packages\vmtk\vtk;
when i run the attached python code ( hAB.py) i get the following error: No module named vtk
so searched solution in the previous posts on this topic and tried to run the following line in python:
from vmtk import python
and i got the error one can see in the picture attached called caputer.jpg
And i tried to remove vmtk and python several time and the paths as well and the reinstall and set the paths again and still didn't manage to solve it...
For the installation from the source code i used Cmake to configure the file with every possible visual studio option offered in that list as well with 64 as with 32 and simple ones... it configures and generates the necessary files(or so i think)
i set the flag in visual studio 14 on Release and tried it with Debug as well for every possible cmake output... But that thing fails after ITK is installed! so I tried to install ITK and VTK before installing vmtk .... still didn't solve the problem..
Once again, I ask for your help! If you have some hints, advice or even solutions i would be very thankful!!!
Regards,
Attila Pataki