Re: [vmtk-users] Problem during execution of vmtk-exe.py
Brought to you by:
davidsteinman,
lucantiga
From: Hugo G. v. A. <h.a...@am...> - 2009-02-12 12:22:04
|
Dear Rocco, I do think you have your values correct and the only difference is that I am using python 2.5 as far as I see, so you might be right. Just in case you see something thatI missed: My CMAKE_INSTALL_PREFIX is "C:/Program Files (x86)/VMTK" My PYTHONPATH: "C:\Program Files (x86)\VMTK\lib\vmtk; C:\Program Files (x86)\vtk\bin\lib\site-packages; C:\Program Files (x86)\itk\bin\lib" My path environment is: "C:\Program Files (x86)\VMTK\bin; C:\Program Files (x86)\vtk\bin\bin; C:\Program Files (x86)\itk\bin\bin" and in the following folder: "C:\Program Files (x86)\VMTK\lib\vmtk\vmtk" there is the file "vtkvmtk.py" that your system is complaining about. Was you build without any fatal errors ? kind regards, Hugo PS I have attached the file listing in my directory "C:\Program Files (x86)\VMTK\lib\vmtk\vmtk" maybe you some other files that are also missing? Rocco Gasteiger wrote: > Dear members, > > I'm just installing the vmtk library on my windows xp. For this I use the > svn repositories for vmtk, vtk and itk and the install instructions on the > vmtk website. After execution all of the install steps, I extend the PATH > environment variable and create the PYTHONPATH variable according the > instructions. Renaming is not necessary anymore because these steps are > already done in the repository. No errors occurs during compilation and all > files are found in the folder. > > However, a problem occurs when I call vmtk-exe.py from a command prompt. I > get the followed output: > > Traceback (most recent call last): > File "D:\VTK\VMTK\vmtk-bin\bin\vmt > from vmtk import pypes > File "D:\VTK\VMTK\vmtk-bin\lib\vmt > import vtkvmtk > ImportError: No module named vtkvmtk > > I didn't found vtkvmtk in my vmtk folder, too. > > Maybe I have set my PATH or PYTHONPATH variable with wrong values. Here are > the entries: > > PATH: (only an excerpt) > D:\VTK\VMTK\vmtk-bin\bin > > PYTHONPATH: > D:\VTK\VMTK\vmtk-bin\lib\vmtk > > The folder "D:\VTK\VMTK\vmtk-bin" is my CMAKE_INSTALL_PREFIX flag in cmake. > I use cmake 2.6 and python 2.6.1 > Is it possible that the installation is only successful with python 2.5? > > I would be grateful for any help. > > Thanks in advanced, > Rocco Gasteiger > > > -- > Dipl.-Ing. Rocco Gasteiger > Department of Simulation and Graphics, School of Computer Science > Otto-von-Guericke-University Magdeburg > > Universitätsplatz 2, 39106 Magdeburg > GERMANY > > Phone: (+49-391) 67-1 27 59 > Fax: (+49 391) 67-1 11 64 > Email: gas...@is... > Web: http://wwwisg.cs.uni-magdeburg.de/cv/ > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > vmtk-users mailing list > vmt...@li... > https://lists.sourceforge.net/lists/listinfo/vmtk-users > -- Hugo Gratama van Andel - MSc Academic Medical Centre - University of Amsterdam Dept. Biomedical Engineering & Physics L0-152 Meibergdreef 9 1105 AZ Amsterdam The Netherlands Phone : +31 20 566 5206 FAX : +31 20 691 7233 e-mail : h.a...@am... |