Dear Vikram,
 I've been off-list for a few days, thanks for the patience.
You wrote that you managed to install VTK correctly: does it mean that if you 
enter python and type
import vtk
you get no errors?
If this is the case, try doing
from vmtk import vtkvmtk
Let me know if you get any feedback from the python console.

Also, what Esko wrote is correct: in order to have PypePad (the GUI, see 
Carlos' tutorial here http://www.vmtk.org/Tutorials/Pypepad) you have to have 
the tkinter module available in Python. If you don't, vmtk falls back to a very 
basic console. In this case I suggest you just avoid "entering vmtk" and type 
your commands at the linux command line directly.

Let me know how it goes.

Best regards


Luca


On Nov 5, 2010, at 12:35 PM, Esko Järvinen wrote:

> Hi Vikram.
>  
> I guess the default interface should be Pypepad window when giving just the 
> command “vmtk”.  Why it switch to console mode might be caused by the lack of 
> python-tk package on your machine.  Or possibly by something  - look at the 
> line ‘from vmtk import pypepad’ in vmtk command script.  I just today faced 
> the same problem when installing vmtk-0.9.0 on my fresh Ubuntu 10.10 machine. 
> If you are using Ubuntu, install the package by giving a  command “sudo 
> apt-get install python-tk”.
>  
> Regards,
>  
> Esko
>  
> From: Vikram Mehta [mailto:[email protected]] 
> Sent: Thursday, November 04, 2010 2:48 PM
> To: [email protected]
> Subject: [vmtk-users] vmtk - getting started
>  
> Hi,
> 
> I managed to get VTK to work and then installed vmtk again as per the 
> instructions.
> Now on calling vmtk from my source directory, I get :
> 
> [vm...@dyn109-252 ~]$ vmtk
> vmtk> 
> 
> Does this mean it has been installed properly and is running ?
> 
> The reason I ask is because If I follow the Getting Started (Tutorial) 
> instructions and enter the following
> vmtkimagereader -f dicom -d 'dicom dir path' --pipe vmtkimageviewer 
> 
> 
> 
> 
> 
> I get an error : No module named vmtkimagereader
> 
> 
> 
> 
> 
> Please suggest what I should do.
> 
> 
> 
> Kind regards,
> 
> Vikram.
> 
> 
> 
> 
> 
>  
>  
> 
> 
> Not spam
> Forget previous vote
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev_______________________________________________
> vmtk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
vmtk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to