[vtkusers] vtkLogo.tcl: can't find packages Tk, vtkinteraction

George Brower browerg at verizon.net
Mon Jun 22 20:11:41 EDT 2009


On downloading TclExamples.tgz from
	http://www.vtk.org/files/VTKTextbook/ and extracting it, I ran: 
		$ tcl vtkLogo.tcl
The result was:
	can't find package Tk
	Error: can't find package vtkinteraction
	    while executing
	"package require vtkinteraction"
	    (file "vtkLogo.tcl" line 2)

On line suggestions to those with similar problems (2000-2003) indicated
possibly improper installations of tcl, so I reinstalled: 
tcl8.3, tcl8.4, tcl8.5, libvtk5, vtkdata, vtk-examples, and vtk-tcl
on my Ubuntu 8.10 box, which already had Python 2.5.
 
I also added the tcl-dev packages, tclx8.3 and its -dev package, and
tk-dev (8.4.16.2). 

All installations were done by apt-get install or syanptic, so I believe
them to be "standard," if not "proper."

The results were the same.

Primarily a number cruncher, I know almost nothing about tcl and tk, but
I've used Python for a few years and hope to extend its use to a
graphical project at work with help from Mayavi and vtk. 

I found mayavi and vtk through a link to "Generating a dynamic plot of
x-y data: http://comments.gmane.org/gmane.comp.python.general/625346)"
in Gabriel Genellina's "Python-URL! - weekly Python news and links" for
June 10.

Thanks in advance for any help!

George 

------------------------------------------------------------------------
George Brower
Eastern Pennsylvania, U.S.A.

"Any sufficiently advanced technology is indistinguishable from magic."
Arthur C Clarke (1917-2008)    3d law of prediction (1973)




More information about the vtkusers mailing list