您的位置:首页 > 编程语言 > Python开发

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: