Anaconda3.6安装好Hyperopt包后,调用过程中出现错误TypeError”generator”object is not subscriptable。
2018-07-26 09:06
916 查看
Anaconda3.6安装好Hyperopt包后,调用过程中出现错误TypeError:
”generator”object is not subscriptable。
原因:
在安装Hyperopt时会自动安装依赖库networksx-2.1,结果发现并不支持Hyperopt-0.1。
解决办法:
卸载networkx:
pip uninstall networksx
下载networkx-1.11版本:
pip install networkx-1.11 --user阅读更多
相关文章推荐
- Anaconda下import caffe出现错误TypeError: 'module' object is not callable
- Hyperopt TypeError: 'generator' object is not subscriptable
- python3中,socket使用send函数时出现的错误:TypeError: a bytes-like object is required, not 'str'
- PyOpenGL出现错误TypeError: 'NoneType' object is not callable
- Python 出现错误TypeError: ‘NoneType’ object is not iterable解决办法
- 在安装 Windows 过程中出现“Ntkrnlmp.exe Could Not Be Loaded. The Error Code Is 7”(无法加载 Ntkrnlmp.exe。错误代码是 7)错误消息
- python错误: TypeError:'dict' object is not callable
- python错误:TypeError: 'str' object is not callable
- Python出现TypeError: 'NoneType' object is not iterable
- Python中3+版本运行2+版本程序出现TypeError: a bytes-like object is required, not 'str'之读取PDF中的图片
- TypeError: url.indexOf is not a function ,使用jquery load()出现错误
- 在用chrome调试JavaScript时,在console中出现“uncaught TypeError: Object is not a function”
- Titanium -- 运行app出现错误: TypeError: argument of type 'NoneType' is not iterable
- Python错误代码分析:莫名的[TypeError: 'int' object is not iterable]
- Python的坑(2) -- TypeError: 'builtin_function_or_method' object is not subscriptable
- python - 数据库 及 TypeError: 'zip' object is not subscriptable
- TypeError: object of type 'zip' has no len()、'zip' object is not subscriptable
- python错误:TypeError: 'module' object is not callable
- python2.7web代码用python3.6运行时,浏览器发送请求报错TypeError: Object of type 'bytes' is not JSON serializable的解决办法
- TypeError: 'NoneType' object is not subscriptable