AttributeError: 'module' object has no attribute 'imsave'
来源:互联网 发布:淘宝收到法院传票 编辑:程序博客网 时间:2024/05/21 17:53
source activate tensorflowpython>>>import scipy.misc>>>scipy.misc.imsave
报错如下:
Traceback (most recent call last): File "<stdin>", line 1, in <module>AttributeError: 'module' object has no attribute 'imsave'
解决方案如下:
分别下载:
moviepy-0.2.3.2.tar.gz
pillow_3.3.1.orig.tar.xz
下载地址:http://pan.baidu.com/s/1skZH5z3
安装moviepy-0.2.3.2.tar.gz
source activate tensorflow# 进入到moviepy-0.2.3.2.tar.gz目录下tar -zxvf moviepy-0.2.3.2.tar.gzcd moviepy-0.2.3.2lspython setup.py install
安装pillow_3.3.1.orig.tar.xz
source activate tensorflow# 进入到pillow_3.3.1.orig.tar.xz目录下tar Jxvf pillow_3.3.1.orig.tar.xzcd pillow_3.3.1lspython setup.py install
测试:
source activate tensorflowpython>>>import scipy.misc>>>scipy.misc.imsave
如下图所示:
0 1
- AttributeError: 'module' object has no attribute 'imsave'
- AttributeError: 'module' object has no attribute 'getpass'
- AttributeError: 'module' object has no attribute 'Serial'
- AttributeError: 'module' object has no attribute(转)
- AttributeError: 'module' object has no attribute 'randint'
- AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'
- AttributeError: 'module' object has no attribute 'Serial'
- AttributeError: 'module' object has no attribute 'LabelMap'
- AttributeError: 'module' object has no attribute 'XXX'
- AttributeError: 'module' object has no attribute 'urlopen'
- AttributeError:'module' object has no attribute 'classify'
- AttributeError: ‘module’ object has no attribute’xxx’
- AttributeError: ‘module’ object has no attribute’ 问题
- AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'
- AttributeError: 'module' object has no attribute 'AF_INET'
- AttributeError: 'module' object has no attribute 'VideoWriter_fourcc'
- AttributeError: 'module' object has no attribute '_base'
- AttributeError: 'module' object has no attribute 'best_partition'
- JAVA版QQ动态口令
- Java中<? extends T>和<? super T>的理解
- 人人都要懂点设计学
- 用JS通过新浪天气API接口获取天气
- 使用大漠插件操作VB程序
- AttributeError: 'module' object has no attribute 'imsave'
- Linux开发九_按键驱动
- hdu1540线段shu
- RSA加密解密及RSA签名和验证
- Gvim的字体、颜色、背景设置
- 基于C语言Win32API的可视化界面的qaac【1】
- gvim关闭菜单栏和工具栏
- SpringMVC学习(7):处理模型数据
- Vim插件之YankRing