日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

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

發布時間:2023/12/13 python 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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)

總結

以上是生活随笔為你收集整理的python用pip安装pillow_cent 6.5使用pip安装pillow总是失败的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。