python pip install pil_用pip安装PIL
我正在尝试使用以下命令安装PIL(Python Imaging Library):
sudo pip install pil
但我收到以下消息:
Downloading/unpacking PIL
You are installing a potentially insecure and unverifiable file. Future versions of pip will default to disallowing insecure files.
Downloading PIL-1.1.7.tar.gz (506kB): 506kB downloaded
Running setup.py egg_info for package PIL
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
Installing collected packages: PIL
Running setup.py install for PIL
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -IlibImaging -I/System/Library/Frameworks/Python.framework/Versions/2.7/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imaging.c -o build/temp.macosx-10.8-intel-2.7/_imaging.o
unable to execute clang: No such file or directory
error: command 'clang' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/private/tmp/pip_build_root/PIL/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-AYrxVD-record/install-record.txt --single-version-externally-managed:
WARNING: '' not a valid package name; please use only.-separated package names in setup.py
running install
running build
.
.
.
.
copying PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.8-intel-2.7
running build_ext
--- using frameworks at /System/Library/Frameworks
building '_imaging' extension
creating build/temp.macosx-10.8-intel-2.7
creating build/temp.macosx-10.8-intel-2.7/libImaging
您能帮我安装PIL吗?
python pip install pil_用pip安装PIL相关推荐
- Python中 -m pip install -U --force-reinstall pip 个人经验及解决办法
新手在搭笔记本中Python环境的时候遇到的一个"pip"问题 先看我的控制台 第一次输入 "pip install virtualenv" 主要最后提示我 W ...
- python pip install pil_解决python的pip install PIL失败问题
标签: 安装PIL的时候遇到个问题, pip install PIL Downloading/unpacking PIL Could not find any downloads that satis ...
- python pip install syntaxerror_解决pip install xxx报错SyntaxError: invalid syntax的问题
python--pip install xxx报错SyntaxError: invalid syntax 在安装好python后,进入python运行环境后,因为我要用pip安装开发Web App需要 ...
- pip install scrapy错误,安装C++14后成功
安装 scrapy 错误 ,根据提示,第一步:下载Microsoft Visual C++ 14(https://sn9.us/file/1445568-239446865 参考:https://ww ...
- pip install -e(-v) (本地安装)
-e 是-editable的意思 -v是指verbose, or more output 但是这样会产生一个问题,你在pip list下看这个包的时候它会有一个指向你这个目录的路径.即如果我们在开发的 ...
- pip install cx_oracle,使用pip安装 cx_Oracle 模块
1. 系统环境,linux, python3.5, pip 以下命令的执行均使用root用户. 2. 执行 pip install cx_Oracle 出错,提示不能定位Oracle的安装.出现该问题 ...
- 解决pip install -r requirements.txt安装过程中出现的问题
报错:ERROR: Could not find a version that satisfies the requirement futures (from -r requirements.txt ...
- python安装默认路径_Python pip install如何修改默认下载路径
Python pip install如何修改默认下载路径 pip动不动就下载数百M的文件.这些文件默认在C:盘,那么为了节省空间需要修改这些路径: 打开cmd命令窗口.输入: python -m si ...
- python安装库后无法调用摄像头_银川监控摄像头安装,有人在代码里下毒!慎用 pip install 命令...
原标题:银川监控摄像头安装,有人在代码里下毒!慎用 pip install 命令 大约一年前,Python软件基金会(Python Software Foundation)发了一个需求咨询帖子(RFI ...
- python自动安装pip教程_谈谈全自动安装常使用的pip install的原理及作用!!!
正如第一句所说: pip is the package installer for Python. You can use pip to install packages from the Pytho ...
最新文章
- 安装Android SDK需要选择哪些,开始为Android开发,我应该选择安装哪些SDK?
- 用POST方式获取Radio Button是否被选中的信息
- sql中 N’ 的作用
- [CF.Skills]Windows Mobile如何编程实现免提功能
- 蓝宝石显卡bios_狼神矿卡烤机89°C!强刷蓝宝石RX570超白金显卡BIOS降温75°教程...
- 单片机六位抢答器c语言程序,八路电子抢答器(基于51单片机的8路抢答器设计C语言程序)...
- python pathlib模块_【Python Snippets】Pathlib 模块
- logrotate 对某个日志的配置
- 一个事务复制的bug--更新丢失 续
- OSG实时纹理提取 离屏渲染 输出到OpenCV 反向渲染 OSG摄像头反转 OSG动态模型 摄像机实时渲染
- 网页抓包嗅探器v1.0
- 中国地图里暗藏的天机
- 联想杀毒显示 你的计算机有风险,都在说联想电脑管家,那我们也来看看这联想杀毒是怎么一回事-电脑管家怎么样...
- FDDB评估工具使用
- 后端程序员必会:并发情况下redis-lua保证原子操作
- 论文阅读(Chenyi Chen——【ACCV2016】R-CNN for Small Object Detection)
- python读取图片、保存图片的方法
- 【Quant】BigQuant学习笔记(1) 可视化策略
- Qt编写地图综合应用57-跨平台(win、linux、mac、uos、kylin等)
- 统计学~方差分析【第十周】