TypeError: 'frozenset' object is not callable 的解决办法
2018-10-31 17:42
295 查看
在ubuntu中通过pip安装hashlib包时,会报TypeError: 'frozenset' object is not callable的错误
个人的解决办法是通过https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip 链接(链接可以在https://pypi.org/project/hashlib/#files查找)来下载hashlib包,再解压之后通过python setup.py install 安装即可成功
在centos中如果出现***Modules/shamodule.c:18:20: 致命错误:Python.h:没有那个文件或目录** 的错误的话,
需要 yum install python-devel,之后再安装即可
apt-get install python-dev
阅读更多相关文章推荐
- 解决"学习python-flask教程,下载源码运行的时候出现:TypeError: 'bool' object is not callable 错误代码:"
- TypeError: 'numpy.ndarray' object is not callable错误的处理办法
- Python错误:TypeError: 'int' object is not callable解决办法
- python错误TypeError: 'module' object is not callable 的解决方法
- python3学习笔记1--TypeError: 'dict' object is not callable的解决
- python错误TypeError: 'module' object is not callable 的解决方法
- python错误TypeError: 'module' object is not callable 的解决方法
- TypeError: 'module' object is not callable 解决方法
- python错误: TypeError: the JSON object must be str, bytes or bytearray, not 'dict'解决办法
- 【Python】TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析(python模块导入注意事项)
- django TypeError: 'module' object is not callable
- TypeError: view must be a callable or a list/tuple in the case of include().解决办法
- scapy AttributeError: 'NoneType' object has no attribute 'route'解决办法
- 【Python】TypeError: 'module' object is not callable 原因分析
- TypeError: 'module' object is not callable 原因分析
- python import 错误 TypeError: 'module' object is not callable
- Python学习笔记:学习爬虫时遇到的问题TypeError: cannot use a string pattern on a bytes-like object 与解决办法
- TypeError: 'module' object is not callable 原因分析
- 【Python】TypeError: 'module' object is not callable 原因分析