Python中文
首页
教程
问答
标签
搜索
登录
注册
scipy.misc模块没有imread属性?
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正试着用希比读一张照片。但是它不接受<code>scipy.misc.imread</code>部分。这可能是什么原因?</p> <pre><code>>>> import scipy >>> scipy.misc <module 'scipy.misc' from 'C:\Python27\lib\site-packages\scipy\misc\__init__.pyc'> >>> scipy.misc.imread('test.tif') Traceback (most recent call last): File "<pyshell#11>", line 1, in <module> scipy.misc.imread('test.tif') AttributeError: 'module' object has no attribute 'imread' </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>imread在版本1.2.0之后折旧! 所以为了解决这个问题,我必须安装1.1.0版。</p> <pre><code>pip install scipy==1.1.0 </code></pre>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
Python中两个字典的交集
5 回答
python中两个字符串上的异或操作数?
3 回答
Python中两个字符串中的类似句子
10 回答
Python中两个字符串之间的Hamming距离
2 回答
python中两个字符串之间的匹配模式
4 回答
python中两个字符串之间的按位或
4 回答
python中两个字符串之间的数据(字节)切片
10 回答
python中两个字符串之间的模式
2 回答
python中两个字符串作为子字符串的区别
6 回答
Python中两个字符串元组的比较
9 回答
Python中两个字符串列表中的公共字符串
7 回答
python中两个字符串的Anagram测试
3 回答
Python中两个字符串的正则匹配
5 回答
python中两个字符串的笛卡尔乘积
5 回答
Python中两个字符串相似性的比较
2 回答
python中两个字符串语义相似度的求法
10 回答
Python中两个字符置换成固定长度的字符串,每个字符的数目相等
9 回答
Python中两个对数方程之间的插值和平滑数据
10 回答
Python中两个对象之间的And/Or运算符
9 回答
python中两个嵌套字典中相似键的和值
5 回答