<div dir="ltr">Hi all,<div><br></div><div>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?</div><div><br></div><div>I also tried to install yt-2.x with install_script.sh, but I got the following error:</div><div><br></div><div><div>Installing Python.  This may take a while, but don't worry.  yt loves you.</div><div>********************************************</div><div>        FAILURE REPORT:</div><div>********************************************</div><div><br></div><div><span class="" style="white-space:pre">           </span>-d /Users/madcpf/Documents/shared_yt2/lib/python2.7 -f \</div><div><span class="" style="white-space:pre">           </span>-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \</div><div><span class="" style="white-space:pre">               </span>/Users/madcpf/Documents/shared_yt2/lib/python2.7</div><div>Traceback (most recent call last):</div><div>  File "/Users/madcpf/Documents/shared_yt2/lib/python2.7/compileall.py", line 16, in <module></div><div>    import struct</div><div>  File "/Users/madcpf/Documents/shared_yt2/lib/python2.7/struct.py", line 1, in <module></div><div>    from _struct import *</div><div>ImportError: No module named _struct</div><div>make: *** [libinstall] Error 1</div><div><br></div><div>********************************************</div><div>********************************************</div><div>Failure.  Check /Users/madcpf/Documents/shared_yt2/yt_install.log.  The last 10 lines are above.</div></div><div><br></div><div>Could someone please give me some suggestions about this?</div><div><br></div><div>Thanks,</div><div>Pengfei</div>







</div>