<div dir="ltr"><div style>Hello All,</div><div><br></div>I have seen this issue before, but I forget what fixed it.  What version of Python are you using?  Module shared objects get different names in Python 3.  This file would be called something like <a href="http://fKDpy.cpython.so">fKDpy.cpython.so</a> instead, which is why setup.py would not find it.  Try a clean rebuild using Python 2.<div>

<br></div><div>Be Well</div><div>Anthony</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 29, 2013 at 4:25 PM, Casey Stark <span dir="ltr"><<a href="mailto:issues-reply@bitbucket.org" target="_blank">issues-reply@bitbucket.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">New issue 581: Source install error from fKDpy<br>
<a href="https://bitbucket.org/yt_analysis/yt/issue/581/source-install-error-from-fkdpy" target="_blank">https://bitbucket.org/yt_analysis/yt/issue/581/source-install-error-from-fkdpy</a><br>
<br>
Casey Stark:<br>
<br>
I'm installing yt-3.0 on NERSC's hopper following the instructions on <a href="http://www.nersc.gov/users/software/development-tools/python-tools/" target="_blank">http://www.nersc.gov/users/software/development-tools/python-tools/</a>. The install fails because the setup script first decides not to build fKDpy.so, but then later tries to copy it to the build directory. Here are the pieces of the log:<br>


<br>
```<br>
$ python setup.py install --home=~/python_modules/hopper<br>
PNG_LOCATION: png found in: /usr/include, /usr/lib<br>
FTYPE_LOCATION: freetype found in: /usr/include, /usr/lib<br>
HDF5_LOCATION: HDF5_DIR: /opt/cray/hdf5/1.8.8/gnu/47/include, /opt/cray/hdf5/1.8.8/gnu/47/lib<br>
running install<br>
running bdist_egg<br>
running egg_info<br>
running build_src<br>
running build_forthon<br>
fKDpy.so won't be built due to missing Forthon/gfortran<br>
build_src<br>
...<br>
running install_data<br>
error: can't copy 'yt/utilities/kdtree/fKDpy.so': doesn't exist or not a regular file<br>
```<br>
<br>
Am I missing something here?<br>
<br>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br></div>