<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Python 2.5 enabled VTK 5.4 Windows binaries</title>
	<atom:link href="http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/feed/" rel="self" type="application/rss+xml" />
	<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=python-25-enabled-vtk-54-windows-binaries</link>
	<description>voices in my head</description>
	<lastBuildDate>Tue, 01 May 2012 14:02:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Germán Larraín</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-10075</link>
		<dc:creator>Germán Larraín</dc:creator>
		<pubDate>Tue, 13 Mar 2012 02:40:02 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-10075</guid>
		<description>Awesome! Thanks a lot.

I did have some trouble though. For those not expert (like me), you may enter this line in the python interpreter to solve the PYTHONPATH issues:
&lt;code&gt;
base_dir = &#039;C:\\VTK-5.4.2-with-python\\&#039;
sys.path.append(os.path.dirname(base_dir + &#039;bin\\&#039;))
sys.path.append(os.path.dirname(base_dir + &#039;lib\\site-packages\\&#039;))
&lt;/code&gt;
Just replace &quot;base_dir&quot; with whatever you used to extract the provided zip file. Remember, use double slashes! And the path to a directory must end with slashes! Silly mistakes that could make you suffer :)

Good luck</description>
		<content:encoded><![CDATA[<p>Awesome! Thanks a lot.</p>
<p>I did have some trouble though. For those not expert (like me), you may enter this line in the python interpreter to solve the PYTHONPATH issues:<br />
<code><br />
base_dir = 'C:\\VTK-5.4.2-with-python\\'<br />
sys.path.append(os.path.dirname(base_dir + 'bin\\'))<br />
sys.path.append(os.path.dirname(base_dir + 'lib\\site-packages\\'))<br />
</code><br />
Just replace &#8220;base_dir&#8221; with whatever you used to extract the provided zip file. Remember, use double slashes! And the path to a directory must end with slashes! Silly mistakes that could make you suffer :)</p>
<p>Good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cpbotha</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-2759</link>
		<dc:creator>cpbotha</dc:creator>
		<pubDate>Wed, 13 Oct 2010 11:18:10 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-2759</guid>
		<description>Could be that infovis is not built in this release. Have you tried the Python 2.6 VTK 5.4 binaries? You could also try Christoph Gohlke&#039;s brilliant repository of libraries: http://www.lfd.uci.edu/~gohlke/pythonlibs/</description>
		<content:encoded><![CDATA[<p>Could be that infovis is not built in this release. Have you tried the Python 2.6 VTK 5.4 binaries? You could also try Christoph Gohlke&#8217;s brilliant repository of libraries: <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" rel="nofollow">http://www.lfd.uci.edu/~gohlke/pythonlibs/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Heberle</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-2757</link>
		<dc:creator>Henry Heberle</dc:creator>
		<pubDate>Wed, 13 Oct 2010 00:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-2757</guid>
		<description>I can&#039;t use vtkParallelCoordinatesRepresentation. Why? =\</description>
		<content:encoded><![CDATA[<p>I can&#8217;t use vtkParallelCoordinatesRepresentation. Why? =\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Heberle</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-2756</link>
		<dc:creator>Henry Heberle</dc:creator>
		<pubDate>Tue, 12 Oct 2010 23:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-2756</guid>
		<description>Your tips didn&#039;t work for me. So I thought and did this:

import sys
sys.path.append(&quot;C:\Program Files\VTK\bin&quot;)
sys.path.append(&quot;C:\Program Files\VTK\lib\site-packages&quot;)</description>
		<content:encoded><![CDATA[<p>Your tips didn&#8217;t work for me. So I thought and did this:</p>
<p>import sys<br />
sys.path.append(&#8220;C:\Program Files\VTK\bin&#8221;)<br />
sys.path.append(&#8220;C:\Program Files\VTK\lib\site-packages&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kadir</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1848</link>
		<dc:creator>Kadir</dc:creator>
		<pubDate>Sun, 07 Mar 2010 18:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1848</guid>
		<description>Thanks for the quick response.

Multiple checks with paths, no chance.

Simple import error message: ImportError: No module named vtk

I&#039;ll see what I can do with DRE.

Kadir</description>
		<content:encoded><![CDATA[<p>Thanks for the quick response.</p>
<p>Multiple checks with paths, no chance.</p>
<p>Simple import error message: ImportError: No module named vtk</p>
<p>I&#8217;ll see what I can do with DRE.</p>
<p>Kadir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cpbotha</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1847</link>
		<dc:creator>cpbotha</dc:creator>
		<pubDate>Sun, 07 Mar 2010 17:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1847</guid>
		<description>That&#039;s correct, no compilation required.

If it&#039;s not working, there must be something wrong with your environment setup. Double and triple check all your paths. What error messages are you seeing?

Have  you considered trying the DRE (DeVIDE Runtime Environment)?  It&#039;s much easier to get going, as it automatically sets the environment up every time.  See this youtube clip: http://www.youtube.com/watch?v=xEbYw73y3pM</description>
		<content:encoded><![CDATA[<p>That&#8217;s correct, no compilation required.</p>
<p>If it&#8217;s not working, there must be something wrong with your environment setup. Double and triple check all your paths. What error messages are you seeing?</p>
<p>Have  you considered trying the DRE (DeVIDE Runtime Environment)?  It&#8217;s much easier to get going, as it automatically sets the environment up every time.  See this youtube clip: <a href="http://www.youtube.com/watch?v=xEbYw73y3pM" rel="nofollow">http://www.youtube.com/watch?v=xEbYw73y3pM</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kadir</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1846</link>
		<dc:creator>Kadir</dc:creator>
		<pubDate>Sun, 07 Mar 2010 16:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1846</guid>
		<description>Hi there,

After doing all what you have said above, I still can not import vtk with Python 2.5

When you say binaries for windows, I understand no build, or make, or cmake necessary, correct?

All path, pythonpath updates are done, additional .pth file points to VTK (which is already under Python\lib\site-packages), even the vcredist_x86 package installed...

What could be missing? Where should I start looking at?

Thanks

Kadir</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>After doing all what you have said above, I still can not import vtk with Python 2.5</p>
<p>When you say binaries for windows, I understand no build, or make, or cmake necessary, correct?</p>
<p>All path, pythonpath updates are done, additional .pth file points to VTK (which is already under Python\lib\site-packages), even the vcredist_x86 package installed&#8230;</p>
<p>What could be missing? Where should I start looking at?</p>
<p>Thanks</p>
<p>Kadir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1580</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Fri, 04 Dec 2009 08:59:41 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1580</guid>
		<description>VTK guru here. But not really, because I have no experience with overriding base VTK classes in Python. C++ is your way to go, I guess. If you want access to protected variables it&#039;s just a matter of making a new class that exposes them... Unfortunately, because a pure-Python solution to this problem would be great!</description>
		<content:encoded><![CDATA[<p>VTK guru here. But not really, because I have no experience with overriding base VTK classes in Python. C++ is your way to go, I guess. If you want access to protected variables it&#8217;s just a matter of making a new class that exposes them&#8230; Unfortunately, because a pure-Python solution to this problem would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cpbotha</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1579</link>
		<dc:creator>cpbotha</dc:creator>
		<pubDate>Fri, 04 Dec 2009 08:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1579</guid>
		<description>@Dave:

That&#039;s a good question. :)  We have a number of own small VTK C++ extensions where we can also override base VTK classes, for example vtktudoss.googlecode.com.  With the new DRE you can easily add these to the existing VTK Python support (see http://code.google.com/p/devide/wiki/AddingVTKLibsToBinaryDeVIDE ).

I know another VTK guru that might have another pure-Python approach for deriving new widgets.  I&#039;ll get him to look at your comment as well!</description>
		<content:encoded><![CDATA[<p>@Dave:</p>
<p>That&#8217;s a good question. :)  We have a number of own small VTK C++ extensions where we can also override base VTK classes, for example vtktudoss.googlecode.com.  With the new DRE you can easily add these to the existing VTK Python support (see <a href="http://code.google.com/p/devide/wiki/AddingVTKLibsToBinaryDeVIDE" rel="nofollow">http://code.google.com/p/devide/wiki/AddingVTKLibsToBinaryDeVIDE</a> ).</p>
<p>I know another VTK guru that might have another pure-Python approach for deriving new widgets.  I&#8217;ll get him to look at your comment as well!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://cpbotha.net/2009/05/23/python-25-enabled-vtk-54-windows-binaries/comment-page-1/#comment-1573</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 04 Dec 2009 00:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://cpbotha.net/?p=514#comment-1573</guid>
		<description>Thanks a lot for these binaries.  I&#039;ve been using them for a while, but I&#039;ve recently felt the need to alter/expand on the base actors (such as adding dimension extension lines to vtkLeaderActor2D).

Can you provide any tips on accessing protected variables of a base class when inheriting and overriding methods (such as RenderOpaqueGeometry in actor classes)?

Or, is adding additional actors to base vtkActor classes not something that can be done at the Python level?</description>
		<content:encoded><![CDATA[<p>Thanks a lot for these binaries.  I&#8217;ve been using them for a while, but I&#8217;ve recently felt the need to alter/expand on the base actors (such as adding dimension extension lines to vtkLeaderActor2D).</p>
<p>Can you provide any tips on accessing protected variables of a base class when inheriting and overriding methods (such as RenderOpaqueGeometry in actor classes)?</p>
<p>Or, is adding additional actors to base vtkActor classes not something that can be done at the Python level?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

