python无法安装pycurl_python – 安装PyCurl时出错

我尝试通过pip安装pycurl.它不起作用,而是它给了我这个错误.

running install

running build

running build_py

running build_ext

building 'pycurl' extension

gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv

-Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc

-arch x86_64 -pipe -DHAVE_CURL_SSL=1 -I/System/Library/Frameworks/

Python.framework/Versions/2.6/include/python2.6 -c src/pycurl.c -o

build/temp.macosx-10.6-universal-2.6/src/pycurl.o

src/pycurl.c:85:4: warning: #warning "libcurl was compiled with SSL

support, but configure could not determine which " "library was used;

thus no SSL crypto locking callbacks will be set, which may " "cause

random crashes on SSL requests"

/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/

../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/

ppc/as) for architecture ppc not installed

Installed assemblers are:

/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64

/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386

src/pycurl.c:85:4: warning: #warning "libcurl was compiled with SSL

support, but configure could not determine which " "library was used;

thus no SSL crypto locking callbacks will be set, which may " "cause

random crashes on SSL requests"

src/pycurl.c:3906: fatal error: error writing to -: Broken pipe

compilation terminated.

src/pycurl.c:85:4: warning: #warning "libcurl was compiled with SSL

support, but configure could not determine which " "library was used;

thus no SSL crypto locking callbacks will be set, which may " "cause

random crashes on SSL requests"

lipo: can't open input file: /var/tmp//ccspAJOg.out (No such file or

directory)

error: command 'gcc-4.2' failed with exit status 1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值