[yt-users] yt installation on mac

Matthew Turk matthewturk at gmail.com
Wed Oct 17 18:15:48 PDT 2012


Hi Ricardo,

On Wed, Oct 17, 2012 at 5:02 PM, Ricardo Fernandez
<rfernandez at astro.columbia.edu> wrote:
> Hello everyone
>
> I tried installing yt on my mac (os X 10.6.8) today and I had a failure. The
> last lines in the log file are:
>
>
> gcc-4.2 -bundle -undefined dynamic_lookup -L/Applications/yt-i386/lib/
> -L/Applications/yt-i386/lib64/ -L/Applications/yt-i386/lib/
> -L/Applications/yt-i386/lib64/ -L/Applications/yt-i386/lib/
> -L/Applications/yt-i386/lib64/ -L/Applications/yt-i386/lib/
> -L/Applications/yt-i386/lib64/ -arch x86_64
> build/temp.macosx-10.4-x86_64-2.7/fKDpymodule.o
> build/temp.macosx-10.4-x86_64-2.7/Forthon.o
> build/temp.macosx-10.4-x86_64-2.7/fKD.o
> build/temp.macosx-10.4-x86_64-2.7/fKD_p.o
> build/temp.macosx-10.4-x86_64-2.7/fKD_source.o
> -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin10/4.6.2 -lgfortran -o
> ./fKDpy.so -flat_namespace
> ld: warning: directory '/Applications/yt-i386/lib64/' following -L not found
> ld: warning: directory '/Applications/yt-i386/lib64/' following -L not found
> ld: warning: directory '/Applications/yt-i386/lib64/' following -L not found
> ld: warning: directory '/Applications/yt-i386/lib64/' following -L not found
> Cython is a build-time requirement for the source tree of yt.
> Please either install yt from a provided, release tarball,
> or install Cython (version 0.16 or higher).
> You may be able to accomplish this by typing:
>      pip install -U Cython
>
> I have cython 0.17 installed on my machine but I'm not sure why it does not
> recognize it. Any
> suggestions?

The Cython installation needs to be inside the same Python
isntallation that yt is using.  Inside your new yt-i386 directory (not
sure why it's in /Applications ; usually it's supposed to go in your
home directory) can you run:

bin/pip install -U Cython

and report back the output?  Is this an old installation you are now
upgrading?  If so, I'd recommend wiping it out and starting a new if
you continue to run into issues.

-Matt

>
> Best
> Ricardo
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list