<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I compiled and tested successfully vtk 5.2.0 on OS X 10.5 intel, with python wrapping on.</div><div>At installation step, I got the following problem</div><div><br></div><div><div><i>running cd "/Users/tonio/Downloads/Science/VTK/build/Wrapping/Python" &amp;&amp; /usr/bin/python2.5 setup.py install --prefix="/usr/local" &nbsp;2>&amp;1</i></div><div><i>running install</i></div><div><i>Checking .pth file support in /usr/local/lib/python2.5/site-packages/</i></div><div><i>/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python -E -c pass</i></div><div><i>TEST FAILED: /usr/local/lib/python2.5/site-packages/ does NOT support .pth files</i></div><div><i>error: bad install directory or PYTHONPATH</i></div><div><i><br></i></div><div><i>You are attempting to install a package to a directory that is not</i></div><div><i>on PYTHONPATH and which Python does not read ".pth" files from. &nbsp;The</i></div><div><i>installation directory you specified (via --install-dir, --prefix, or</i></div><div><i>the distutils default setting) was:</i></div><div><i><br></i></div><div><i>&nbsp;&nbsp; &nbsp;/usr/local/lib/python2.5/site-packages/</i></div><div><i><br></i></div><div><i>and your PYTHONPATH environment variable currently contains:</i></div><div><i><br></i></div><div><i>&nbsp;&nbsp; &nbsp;''</i></div><div><i><br></i></div><div><i>Here are some of your options for correcting the problem:</i></div><div><i><br></i></div><div><i>* You can choose a different installation directory, i.e., one that is</i></div><div><i>&nbsp;&nbsp;on PYTHONPATH or supports .pth files</i></div><div><i><br></i></div><div><i>* You can add the installation directory to the PYTHONPATH environment</i></div><div><i>&nbsp;&nbsp;variable. &nbsp;(It must then also be on PYTHONPATH whenever you run</i></div><div><i>&nbsp;&nbsp;Python and want to use the package(s) you are installing.)</i></div><div><i><br></i></div><div><i>* You can set up the installation directory to support ".pth" files by</i></div><div><i>&nbsp;&nbsp;using one of the approaches described here:</i></div><div><i><br></i></div><div><i>&nbsp;&nbsp;<a href="http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations">http://peak.telecommunity.com/EasyInstall.html#custom-installation-locations</a></i></div><div><i><br></i></div><div><i>Please make the appropriate changes for your system and try again.</i></div><div><br></div><div><br></div><div>But I do have&nbsp;PYTHONPATH=/usr/local/lib/python2.5/site-packages !!!</div><div><br></div><div>Thanks for any help.</div><div><br></div><div>Antoine.</div></div></div></body></html>