Python Mac easy_安装叮当声警告导致失败

Python Mac easy_安装叮当声警告导致失败,python,macos,installation,clang,Python,Macos,Installation,Clang,我正试图在Mac上安装python模块。我使用easy_install安装scp、ssh,但它失败了 clang: warning: argument unused during compilation: '-mno-fused-madd' src/_fastmath.c:1545:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]

我正试图在Mac上安装python模块。我使用easy_install安装scp、ssh,但它失败了

clang: warning: argument unused during compilation: '-mno-fused-madd'
src/_fastmath.c:1545:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                    else if (result < 0)
                             ~~~~~~ ^ ~
src/_fastmath.c:1621:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                    else if (result < 0)
                             ~~~~~~ ^ ~
2 warnings generated.
src/_fastmath.c:83:13: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
            size = p->ob_size;
                 ~ ~~~^~~~~~~
src/_fastmath.c:86:10: warning: implicit conversion loses integer precision: 'Py_ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
            size = -p->ob_size;
                 ~ ^~~~~~~~~~~
src/_fastmath.c:1310:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'unsigned int' [-Wshorten-64-to-32]
            offset = mpz_get_ui (mpz_offset);
                   ~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/gmp.h:890:20: note: expanded from macro 'mpz_get_ui'
#define mpz_get_ui __gmpz_get_ui
               ^
src/_fastmath.c:1360:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            return return_val;
            ~~~~~~ ^~~~~~~~~~
src/_fastmath.c:1373:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
            rounds = mpz_get_ui (n) - 2;
                   ~ ~~~~~~~~~~~~~~~^~~
src/_fastmath.c:1433:9: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    return return_val;
    ~~~~~~ ^~~~~~~~~~
src/_fastmath.c:1545:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                    else if (result < 0)
                             ~~~~~~ ^ ~
src/_fastmath.c:1621:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                    else if (result < 0)
                             ~~~~~~ ^ ~
8 warnings generated.
ld: warning: ignoring file /usr/local/lib/libgmp.a, file was built for archive which is not the architecture being linked (i386): /usr/local/lib/libgmp.a
ld: illegal text-relocation to ___gmp_binvert_limb_table in /usr/local/lib/libgmp.a(mp_minv_tab.o) from ___gmpn_divexact_1 in /usr/local/lib/libgmp.a(dive_1.o) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Setup script exited with error: command 'clang' failed with exit status 1
clang:warning:编译期间未使用参数:'-mno-fused-madd'
src/_fastmath.c:1545:20:警告:无符号表达式<0的比较始终为false[-wtautologic compare]
否则如果(结果<0)
~~~~~~ ^ ~
src/_fastmath.c:1621:20:警告:无符号表达式<0的比较始终为false[-Wtautological compare]
否则如果(结果<0)
~~~~~~ ^ ~
生成2个警告。
src/_fastmath.c:83:13:警告:隐式转换将丢失整数精度:“Py_ssize_t”(也称为“long”)到“int”[-Wshorten-64-to-32]
尺寸=p->ob_尺寸;
~ ~~~^~~~~~~
src/_fastmath.c:86:10:警告:隐式转换将丢失整数精度:“Py_ssize_t”(又名“long”)到“int”[-Wshorten-64-to-32]
尺寸=-p->ob\U尺寸;
~ ^~~~~~~~~~~
src/_fastmath.c:1310:12:警告:隐式转换将丢失整数精度:“unsigned long”到“unsigned int”[-Wshorten-64-to-32]
偏移量=mpz_获取_ui(mpz_偏移量);
~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/gmp.h:890:20:注意:从宏“mpz_get_ui”展开
#定义mpz_get_ui__gmpz_get_ui
^
src/_fastmath.c:1360:10:警告:隐式转换将丢失整数精度:“unsigned long”到“int”[-Wshorten-64-to-32]
返回值;
~~~~~~ ^~~~~~~~~~
src/_fastmath.c:1373:27:警告:隐式转换丢失整数精度:“unsigned long”到“int”[-Wshorten-64-to-32]
轮数=mpz_get_ui(n)-2;
~ ~~~~~~~~~~~~~~~^~~
src/_fastmath.c:1433:9:警告:隐式转换将丢失整数精度:“unsigned long”到“int”[-Wshorten-64-to-32]
返回值;
~~~~~~ ^~~~~~~~~~
src/_fastmath.c:1545:20:警告:无符号表达式<0的比较始终为false[-wtautologic compare]
否则如果(结果<0)
~~~~~~ ^ ~
src/_fastmath.c:1621:20:警告:无符号表达式<0的比较始终为false[-Wtautological compare]
否则如果(结果<0)
~~~~~~ ^ ~
生成了8个警告。
ld:警告:忽略文件/usr/local/lib/libgmp.a,该文件是为未链接的体系结构(i386)的存档而生成的):/usr/local/lib/libgmp.a
ld:对于体系结构x86\u 64,从/usr/local/lib/libgmp.a(mp\u minv\u tab.o)中的/usr/local/libgmp.a(dive\u 1.o)中的\uuuuuu gmp\u binvert\u limb\u表(mp\u minv\u tab.o)将非法文本重新定位到\uuuuu gmp\u limb\u表
叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用)
错误:安装程序脚本退出,出现错误:命令“clang”失败,退出状态为1

我正在考虑可能是32/64的问题,但我不确定。而叮当声是4.1版。我需要在python上安装模块,有没有比easy_install更好的方法?

在另一个软件包中检查这个问题和相同的问题。