腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(2692)
视频
沙龙
2
回答
python
PIL
Pillow
:
保存
图像
突然
不起作用
python
、
jupyter-notebook
、
anaconda
、
python-imaging-library
我正在使用Anaconda Jupyter Notebook中的
Pillow
(
PIL
.Image)库打开tif
图像
,将其拆分为几个页面并
保存
图像
。上个星期它还在工作。然而,它在本周
突然
返回了一个操作系统错误。except EOFError:> > ~\AppData\Local\Continuum\anaconda3\lib\site-packages\
PIL
save_all = params.po
浏览 31
提问于2020-01-23
得票数 2
1
回答
安装
PIL
困难重重
software-installation
、
pip
回溯(最近一次调用):文件"green.py",第11行,在
PIL
导入
图像
ImportError:没有模块名为
PIL
我已经尝试过"pip install
PIL
“和"sudo pip install
PIL
”,这给了我错误:无法找到满足
PIL
要求的版本(从版本:)没有找到匹配的
PIL
发行版。
浏览 0
提问于2019-04-17
得票数 -2
回答已采纳
1
回答
使用
Pillow
导入
图像
:没有名为'
PIL
‘的模块
python
、
image
、
python-imaging-library
、
python-3.4
、
pillow
在卸载了
PIL
和
Pillow
之后,有几篇文章建议使用pip导入
Pillow
,我这样做了:
python
-m pip uninstall
PIL
(
PIL
was not installed)然后,根据这些
浏览 2
提问于2017-04-22
得票数 0
1
回答
Python
:.avif可以处理吗?
python
、
image
我有一堆.avif
图像
,我不能用任何程序打开。我想把这些文件转换成一些更传统的东西,比如.jpg,但是在线转换器不允许我转换200个文件。那么,有没有转换
图像
的库呢?或者至少可以将这些
图像
加载到
python
中,这样我就可以制作某种
图像
查看器了?
浏览 21
提问于2021-12-12
得票数 2
3
回答
无法加载
图像
,因为存在
PIL
python
、
python-3.x
、
encoding
、
python-imaging-library
我正在尝试从
PIL
导入某些内容:但是这个错误被标记出来了:我已经尝试了pip install
PIL
和easy_install
PIL
,但错误仍然被标记出来,请你能帮助我吗?
浏览 1
提问于2021-07-16
得票数 0
1
回答
PIL
和
Pillow
安装程序
突然
关闭而不安装(Windows 10)
python
、
python-2.7
、
python-imaging-library
我在我的64位Windows计算机上运行
Python
2.7.15。我已经多次尝试在我的笔记本电脑上下载64位版本的
PIL
和
Pillow
(.exe installer版本)。但是每一次,我点击Install,安装程序都会等待几秒钟,然后
突然
关闭而不安装。我检查了我的系统和
python
都是64位的。我甚至尝试在我的电脑上安装32位的
PIL
和
Pillow
,但我得到了相同的结果:没有安装并
突然
关闭。谁有
PIL
或
Pillow</em
浏览 1
提问于2018-10-28
得票数 0
3
回答
包(
Python
PIL
/
Pillow
)已安装,但无法导入
python
、
package
、
pip
、
packages
、
pillow
我一直使用
python
编写简单的数据处理脚本,但现在我想做一些
图像
处理,但我遇到了一个问题。导入枕头模块似乎
不起作用
。我在这里找到了一个简单的脚本来检查安装了什么包,并且我找到了它,但是导入它似乎
不起作用
。=%s" % (i.key, i.version)print(installed_packages_list) import
pillow
pandas==0.15.2', 'paramiko==1.1
浏览 1
提问于2015-05-30
得票数 6
回答已采纳
1
回答
ImportError:无法从Django管理枕头导入名称_imaging访问
python
、
django
、
django-admin
、
importerror
、
pillow
我有一个简单的模型,它使用Django
图像
字段 first_name = models.CharField(max_length=30)models.ImageField(upload_to='images/', default='images/user_default.jpg') 在生产服务器中,当我从admin访问模型并选择一个
图像
并尝试
保存
时[:error] [pid 20256:tid 13982201
浏览 3
提问于2016-08-11
得票数 2
回答已采纳
1
回答
枕头已安装,但仍有错误
python
、
python-imaging-library
、
python-3.5
我安装了枕头,我跟踪了多个答案,但是,当我尝试运行我的程序时,上面写着"ModuleNotFoundError:没有名为‘枕头’的模块from
Pillow
import ImageTk,Image 编辑:我使用的是
Python
的3.6.5版本
浏览 5
提问于2019-01-05
得票数 0
1
回答
使用枕头时出错: ImportError:无法导入名称_imaging
python
、
python-imaging-library
、
pillow
在尝试使用
Pillow
时,我收到以下错误:Traceback (most recent call last):File "/Library/
Python
/2.7/site-packages/
PIL
/Image.py", line 63, in <modu
浏览 2
提问于2014-12-16
得票数 2
1
回答
使用
Python
3.4旋转视频
python
谢谢from moviepy.editor import * myclip.write_videofile("resized_clip.mp4") #write new video fileFile "/usr/local/lib/
python
3.4/dist-packages/
PIL</em
浏览 1
提问于2016-04-28
得票数 0
1
回答
如何将dtype(uint16)数据转换为16位png
图像
?
python
、
image
、
numpy
、
png
、
python-imaging-library
我试着用RSA加密和解密
图像
。为此,我需要将
图像
读取为灰度,然后应用键并将uint16类型数组
保存
到支持16位数据的png或任何
图像
格式中。然后,我需要读取16位数据,将其转换为数组并进行解密。现在,以前我尝试将
图像
保存
为.tif,并且当我阅读它时它将
图像
处理为RGB,这不是我想要的。现在,我想将uint16类型数组
保存
浏览 1
提问于2019-03-23
得票数 9
回答已采纳
2
回答
Django -上传.tif格式
图像
并转换为JPEG格式的方法
django
、
image
我是django的新手,我需要开发一个函数来上传.tif格式的
图像
。我需要将
图像
转换为JPEG,同时我想
保存
原始
图像
,这意味着这两种
图像
类型将被
保存
在同一目录中。我可以使用的正确方法是什么?
浏览 0
提问于2015-11-14
得票数 2
28
回答
ImportError:没有名为
PIL
的模块
python
、
python-imaging-library
、
easy-install
我在shell中使用以下命令来安装
PIL
:然后我运行
python
并键入以下内容:import
PIL
。Traceback (most recent call last):ImportError: No module named
PIL
浏览 10
提问于2012-01-15
得票数 268
回答已采纳
8
回答
Python
3的
图像
库
python
、
image
、
python-3.x
、
python-imaging-library
python
-3使用什么来代替
PIL
来操作
图像
?
浏览 0
提问于2010-10-09
得票数 154
1
回答
PIL
zip jpeg解码器在运行时不工作,但在安装/自测试时工作。
python
、
python-imaging-library
、
zlib
、
libjpeg
但是,当我尝试
保存
图像
时:>>> i = Image.open('a.png')Traceback (most recentcall last): File "/usr/local/lib/
python</em
浏览 1
提问于2012-06-30
得票数 1
回答已采纳
2
回答
在
Python
shell中工作时导入,但从文件运行时不导入
python
、
python-3.x
、
python-imaging-library
我正在尝试让JPEG
图像
与Tkinter一起工作,所以我决定使用
PIL
包。为了做到这一点,我导入了
PIL
。但是,只有当我启动
python
shell时,这才会起作用。如果我在.py文件中运行导入,然后在命令行中运行该文件,则抛出的错误为- from
PIL
import Image我在
Pillow</
浏览 0
提问于2019-02-16
得票数 2
2
回答
我无法使用导入
图像
的方式将
图像
导入到
python
中
python
、
image
在你问之前,我确实试着在里面放了一个
图像
,但它不是这样的,看看这个。
浏览 1
提问于2016-04-16
得票数 0
2
回答
Django -如何安装
Python
Image Library (
PIL
)
python
、
linux
、
django
、
installation
、
python-imaging-library
我想在表单中使用ImageField,根据文档,它说我需要安装
Python
Imaging:
Python
图像
库1.1.7源码套件 所以我决定点击并安装这个.tar.gz文件。
浏览 0
提问于2014-02-18
得票数 3
回答已采纳
1
回答
ICO
图像
中具有透明部件的ImageOps.fit()
python
、
python-imaging-library
、
alpha
image, (width, height), Image.ANTIALIAS)我选择png作为扩展名,因为
PIL
浏览 4
提问于2013-07-07
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python 学习笔记之——PIL 库
Pillow入门教程
PIL屏幕截图爬坑之旅
用Python的Pillow库生成GIF动画
用 Python 发一个高逼格的朋友圈
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券