Hi,<br><br>In trying to run make install for VTK, I get the following error:<br><br><div style="margin-left: 40px; font-family: courier new,monospace;">Checking .pth file support in /usr/local/lib/python2.5/site-packages/<br>
error: can&#39;t create or remove files in install directory<br><br>The following error occurred while trying to add or remove files in the<br>installation directory:<br><br>    [Errno 2] No such file or directory: &#39;/usr/local/lib/python2.5/site-packages/test-easy-install-53618.pth&#39;<br>
<br>The installation directory you specified (via --install-dir, --prefix, or<br>the distutils default setting) was:<br><br>    /usr/local/lib/python2.5/site-packages/<br><br>This directory does not currently exist.  Please create it and try again, or<br>
choose a different installation directory (using the -d or --install-dir<br>option).<br></div><br>I&#39;ve tried googling, editing CMakeCache.txt (to remove the --prefix for Python installs), and just running the command manually. The first two failed, and the latter results in:<br>
<br><div style="margin-left: 40px;"><font face="courier new,monospace">&gt;&gt;&gt; import vtk<br>Traceback (most recent call last):<br>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<br>  File &quot;/Users/kabir/Downloads/VTK-BUILD/Wrapping/Python/vtk/__init__.py&quot;, line 41, in &lt;module&gt;<br>
    from common import *<br>  File &quot;/Users/kabir/Downloads/VTK-BUILD/Wrapping/Python/vtk/common.py&quot;, line 7, in &lt;module&gt;<br>    from libvtkCommonPython import *<br>ImportError: No module named libvtkCommonPython<br>
<br><br></font></div><font face="arial,helvetica,sans-serif">I&#39;d be grateful if someone could point me in the right direction.<br><br>Thanks,<br><br>~ K<br></font><br>