Hello Jiajing,
 we need to understand what part of the chains of modules your interpreter gets 
stuck at.
Try entering the python shell and writing
import vtk
Please let me know if you get any errors.
If this succeeds, try with
from vmtk import vmtkimagereader
and let me know about any errors.
Best regards

Luca



On Jan 19, 2012, at 7:53 AM, Jiajing Xu wrote:

> Hi,
> 
> I have successfully compiled VMTK on Red Hat Linux 5.7.  I have setup the 
> environment parameters following the tutorial.  When I type vmtk, I saw the 
> PypePad popped up.  Everything seems okay.  However, when I type instructions 
> and enter the following
> ==================================================================
> vmtkimagereader -f dicom -d 'dicom dir path' --pipe vmtkimageviewer 
> 
> The error occured : No module named vmtkimagereader
> ==================================================================
> 
> 
> []$ echo $PATH
> /home/jiajing/opt/local/bin:/home/jiajing/opt/Python-2.6.5/bin:/home/jiajing/opt/db-4.7.25/bin:/home/jiajing/projects/vmtk-build/Install/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
> 
> []$ echo $PYTHONPATH
> /home/jiajing/opt/local/lib/python2.6/site-packages:/home/jiajing/projects/vmtk-build/Install/bin/Python:/home/jiajing/projects/vmtk-build/Install/lib/vtk-5.8:/home/jiajing/projects/vmtk-build/Install/lib/vmtk
> 
> 
> I checked the path and it seems fine.  I even tried calling vmtkimagereader 
> from Install/bin, it still gives the same error.
> 
> Any idea on this?
> 
> Thanks a lot in advance!
> Jiajing
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to