[yt-users] yt-2.x installation problem on Mac 10.11

Pengfei Chen madcpf at gmail.com
Wed Feb 17 17:33:23 PST 2016


Hi all,

I'm trying to install yt-2.x on my Mac 10.11. I could use get_yt.sh to
install yt-2.x. But I need to add "--enable-shared" while installing
python, so that I could use inline python later on with yt. Is there a way
that I could modify get_yt.sh to add the option "--enable-shared" while
installing python?

I also tried to install yt-2.x with install_script.sh, but I got the
following error:

Installing Python.  This may take a while, but don't worry.  yt loves you.
********************************************
        FAILURE REPORT:
********************************************

-d /Users/madcpf/Documents/shared_yt2/lib/python2.7 -f \
-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
/Users/madcpf/Documents/shared_yt2/lib/python2.7
Traceback (most recent call last):
  File "/Users/madcpf/Documents/shared_yt2/lib/python2.7/compileall.py",
line 16, in <module>
    import struct
  File "/Users/madcpf/Documents/shared_yt2/lib/python2.7/struct.py", line
1, in <module>
    from _struct import *
ImportError: No module named _struct
make: *** [libinstall] Error 1

********************************************
********************************************
Failure.  Check /Users/madcpf/Documents/shared_yt2/yt_install.log.  The
last 10 lines are above.

Could someone please give me some suggestions about this?

Thanks,
Pengfei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160217/bc6e2ab0/attachment.htm>


More information about the yt-users mailing list