python用pip安装pillow_cent 6.5使用pip安装pillow总是失败

python:2.7.8

阿里云cent os32位

virtualenv

virtualenvwrapper

之前有一个virtualenv不知道怎么回事成功装上了pillow

之后再在别的virtualenv装就全都报错

这是为什么 太奇怪了?下载whl安装,不管哪个版本都说不支持这个系统。

imaging.c:3356: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3359: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3360: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3361: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3362: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3363: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3364: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3365: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3366: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3367: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3382: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3385: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3387: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3388: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.?.token

_imaging.c:3390: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.unctions?

_imaging.c:3497: error: expected ?.?.before ?.?.token

_imaging.c:3570: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?._attribute__?.before ?.nit_imaging?

error: command 'gcc' failed with exit status 1

----------------------------------------

Cleaning up...

Command /root/.virtualenvs/ts/bin/python -c "import setuptools, tokenize;__file__='/root/.virtualenvs/ts/build/pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-U7RYEY-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.virtualenvs/ts/include/site/python2.7 failed with error code 1 in /root/.virtualenvs/ts/build/pillow

Traceback (most recent call last):

File "/root/.virtualenvs/ts/bin/pip", line 11, in

sys.exit(main())

File "/root/.virtualenvs/ts/lib/python2.7/site-packages/pip/__init__.py", line 185, in main

return command.main(cmd_args)

File "/root/.virtualenvs/ts/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main

text = '\n'.join(complete_log)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 112: ordinal not in range(128)

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值