在OS X 10.6上安装Python 2.5.2 [英] Installing Python 2.5.2 on OS X 10.6
本文介绍了在OS X 10.6上安装Python 2.5.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Mac上安装了Python 2.5.2(OSX 10.6)。
I am installing Python 2.5.2 on my Mac (OSX 10.6).
我下载了源代码,运行 ./ configure
I downloaded the source, ran ./configure
, and then ran make
. I received this error:
gcc -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
cc1: error: unrecognized command line option "-Wno-long-double"
make: *** [Modules/python.o] Error 1
交易是什么?
推荐答案
查看我的回答此处。虽然你可以用建议的补丁从头开始构建它,但是按照建议从python.org下载预构建的安装程序可能会更容易。
See my answer here. While you can build it from scratch with the suggested patches, it may be a lot easier to just download a prebuilt installer from python.org as suggested there.
这篇关于在OS X 10.6上安装Python 2.5.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文