Hello All,

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 fKDpy.cpython.so instead, which is why setup.py would not find it.  Try a clean rebuild using Python 2.

Be Well

On Wed, May 29, 2013 at 4:25 PM, Casey Stark <issues-reply@bitbucket.org> wrote:
New issue 581: Source install error from fKDpy

Casey Stark:

I'm installing yt-3.0 on NERSC's hopper following the instructions on http://www.nersc.gov/users/software/development-tools/python-tools/. 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:

$ python setup.py install --home=~/python_modules/hopper
PNG_LOCATION: png found in: /usr/include, /usr/lib
FTYPE_LOCATION: freetype found in: /usr/include, /usr/lib
HDF5_LOCATION: HDF5_DIR: /opt/cray/hdf5/1.8.8/gnu/47/include, /opt/cray/hdf5/1.8.8/gnu/47/lib
running install
running bdist_egg
running egg_info
running build_src
running build_forthon
fKDpy.so won't be built due to missing Forthon/gfortran
running install_data
error: can't copy 'yt/utilities/kdtree/fKDpy.so': doesn't exist or not a regular file

Am I missing something here?

yt-dev mailing list