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'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: '/usr/local/lib/python2.5/site-packages/test-easy-install-53618.pth'<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'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">>>> import vtk<br>Traceback (most recent call last):<br> File "<stdin>", line 1, in <module><br> File "/Users/kabir/Downloads/VTK-BUILD/Wrapping/Python/vtk/__init__.py", line 41, in <module><br>
from common import *<br> File "/Users/kabir/Downloads/VTK-BUILD/Wrapping/Python/vtk/common.py", line 7, in <module><br> from libvtkCommonPython import *<br>ImportError: No module named libvtkCommonPython<br>
<br><br></font></div><font face="arial,helvetica,sans-serif">I'd be grateful if someone could point me in the right direction.<br><br>Thanks,<br><br>~ K<br></font><br>