[yt-dev] Issue #581: Source install error from fKDpy (yt_analysis/yt)

Nathan Goldbaum nathan12343 at gmail.com
Wed May 29 14:39:09 PDT 2013


I left a comment on the bitbucket issue - the bug is fixed in 2.X but not fixed in 3.0.

On May 29, 2013, at 2:36 PM, Anthony Scopatz <scopatz at gmail.com> wrote:

> 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
> Anthony
> 
> 
> On Wed, May 29, 2013 at 4:25 PM, Casey Stark <issues-reply at bitbucket.org> wrote:
> New issue 581: Source install error from fKDpy
> https://bitbucket.org/yt_analysis/yt/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
> build_src
> ...
> 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
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
> 
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20130529/8b6de246/attachment.html>


More information about the yt-dev mailing list