GCC-4.2 error on Mac OS-X Mountain Lion, unable to install some packages with pip / virtualenv

后端 未结 5 2148
别跟我提以往
别跟我提以往 2021-02-20 07:01

I\'m seeing a very annoying bug that I don\'t really know how to deal with. It seems to be pretty common, and I\'ve tried nearly every solution that I could find to no avail.

5条回答
  •  被撕碎了的回忆
    2021-02-20 07:51

    So I've resolved this issue from myself, but I kinda live in the wild west where I fix things now and worry about the correct way to do it when things break. I just made a symbolic link so that stdargs.h is in a reasonable location where it will be seen when requested.

    sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/stdarg.h /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/stdarg.h
    

    You may have to alter "MacOSX10.8.sdk" to be the one you're currently using. Hopeful

提交回复
热议问题