Hi there,

I’m just starting out with yt (I’m using the stable version available on the website, https://bitbucket.org/yt_analysis/yt/raw/stable/doc/install_script.sh), and I’m running into a problem when yt tries to install python after I execute bash ./install_script.sh. I have gcc version 4.9.3. Looking through the archives and google haven’t given me a solution. Additionally, my professor hasn’t seen this error before and can’t figure it out, but he thinks it might be a 10.10 specific problem that y’all could help me with.


                 from /usr/include/stdio.h:65,
                 from Include/Python.h:33,
                 from Python/mactoolboxglue.c:26:
//System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:38: error: expected ',' or '}' before '__attribute__'
   kFSEventStreamCreateFlagIgnoreSelf __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_6_0) = 0x00000008,
//System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:38: error: expected ',' or '}' before '__attribute__'
   kFSEventStreamEventFlagItemCreated __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000100,
make: *** [Python/mactoolboxglue.o] Error 1


I’ve attached my install_script and yt_install.log, which detail the specific error and which version of the install_script I’m using.

Thank you very much,
Madison Fitzgerald

Astrophysics | Lyman Briggs College
Women’s & Gender Studies | College of Arts & Letters
LGBTQ and Sexuality Studies Specialization
Women in Science, President
Undergraduate Teaching Assistant
Undergraduate Research Assistant
Department of Physics and Astronomy
Honors College
Michigan State University