python安装某模块时出现 TypeError: __call__() takes exactly
2017-02-12 22:13
399 查看
具体错误如下:
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)
分析原因:可能是python安装不正确
解决办法:
1.推荐方法
卸载重装
装好之后,用pip install 模块名 来安装。
2.
将MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")该行注释掉,然后用
MARKER_EXPR = originalTextFor(MARKER_EXPR)("marker")替换上一行。
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)
分析原因:可能是python安装不正确
解决办法:
1.推荐方法
卸载重装
装好之后,用pip install 模块名 来安装。
2.
将MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")该行注释掉,然后用
MARKER_EXPR = originalTextFor(MARKER_EXPR)("marker")替换上一行。
相关文章推荐
- python安装pbkdf2 遇到错误TypeError: __call__() takes exactly 2 arguments (1 given)
- python 2.7 : 引用模块时出现TypeError:'module' object is not callable
- Python安装模块出现问题UnicodeDecodeError的解决方法
- [Python3.5]解决安装一些模块时出现“error: Unable to find vcvarsall.bat”的错误
- centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' failed with exit status 1
- win7环境+pycharm+python3.5+OpenCV安装,引入cv2时出现:ImportError: DLL load failed: 找不到指定的模块
- python MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() takes exactly 2
- python 安装模块出现问题:UnicodeDecodeError:
- 安装python模块时出现错误:UnicodeDecodeError: 'utf-8' codec ...的解决办法
- python3.x安装模块的setup.py出现 " error: no commands supplied " 错误
- 关于Python安装模块出现error: command 'gcc' failed with exit status 1错误的解决方法
- 安装python模块时出现:error: Setup script exited with error: command 'gcc' failed with exit status 1
- 安装python模块时出现:error: Setup script exited with error: command 'gcc' failed with exit status 1
- 如何解决python安装模块是出现的 error: Unable to find vcvarsall.bat
- 用安装python模块出现error: command 'gcc' failed with exit status 1 ,实际已经安装了gcc的,还是报错,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,执行如下操作:
- 关于windows安装python过程中出现error 2503 2502错误的解决方法
- 解决linux精简客户端下安装python的oracle模块出现的错误
- 解决python安装模块时出现“Unable to find vcvarsall.bat”
- 解决安装3dMax时出现Command line option syntax error.Type Command /?for Help.的问题
- Python出现TypeError: 'NoneType' object is not iterable