ubuntu14.04安装python的图像处理库PIL
2016-05-19 16:14
871 查看
pip安装:
####@####:sudo apt-get install python-pip
提示cannot ...http://us.archive.ubuntu.com trusty-proposed/universe amd64 ...等一系列的问题,然后更新一下
####@####:sudo apt-get update
更新完毕后
####@####:sudo apt-get install python-pip
等待安装pip完成,再利用pip安装PIL,出现如下问题:
Downloading/unpacking PIL
Could not find any downloads that satisfy the requirement PIL
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in /home/hadoop/.pip/pip.log
未找到需要的包,只能利用源代码安装了
源代码下载地址,下载压缩文件包Imaging-1.1.7.tar.gz
解压:
####@####:tar -zxvf Imaging-1.1.7.tar.gz
####@####:sudo apt-get install python-pip
提示cannot ...http://us.archive.ubuntu.com trusty-proposed/universe amd64 ...等一系列的问题,然后更新一下
####@####:sudo apt-get update
更新完毕后
####@####:sudo apt-get install python-pip
等待安装pip完成,再利用pip安装PIL,出现如下问题:
Downloading/unpacking PIL
Could not find any downloads that satisfy the requirement PIL
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in /home/hadoop/.pip/pip.log
未找到需要的包,只能利用源代码安装了
源代码下载地址,下载压缩文件包Imaging-1.1.7.tar.gz
解压:
####@####:tar -zxvf Imaging-1.1.7.tar.gz
相关文章推荐
- FTP使用 ---python
- python3 使用 protobuf3 序列化踩过的坑
- Python 进阶 —— 可变参数(*args, **kw)与参数收集的逆过程
- 设置python的编码
- python argparse
- python 处理 excel格式文件
- python 处理抓取网页乱码问题
- python基础列表
- 轻轻松松搞定Python基本知识小结
- Python Tricks(八)—— 斐波那契数列的另类实现
- Python cartopy 使用地图工具,给出经纬度,画出受影响的中国省份
- 深度学习(二)sparse autoencoder的Python实现
- python中四舍五入及向上向下取整处理
- Python包帮助文档
- datetime的时间处理逻辑
- python实现find -name的功能
- python socket 服务器和客户端
- python可变变量和不可变变量
- python之渗透小脚本
- 1分钟快速生成用于网页内容提取的xslt