python MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() takes exactly 2
来源:互联网 发布:手办买卖吧淘宝店铺 编辑:程序博客网 时间:2024/06/12 23:55
在安装cffi模块时,报了一下错误:
[root@localhost blog]# pip install cffi
Traceback (most recent call last):File "/usr/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 72, in <module>
import packaging.requirements
File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)
尝试升级pip:
python -m pip install --upgrade --force pip
发现还是不行
后面对setuptool进行升级:
pip install setuptools==33.1.1
再重新安装cffi就可以了
1 0
- python MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() takes exactly 2
- MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError解决方法
- import redis MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
- Ubuntu14.04下pip安装jupyter报错,提示MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
- python安装某模块时出现 TypeError: __call__() takes exactly
- Python: TypeError: XXX() takes exactly 1 argument (2 given)
- Python安装setuptools遇到的MARKER_EXPR错误
- PAMIE TypeError: getElementsByTagName() takes exactly 1 positional argument (2 given)
- TypeError: print_space() takes exactly 2 arguments (3 given)
- TypeError: distinct() takes exactly 2 arguments (3 given)
- TypeError: checkcode() takes exactly 1 argument (2 given)
- TypeError: __init__() takes exactly 2 arguments (3 given)
- python将数据写入excel文件时报错ew = ExcelWriter(workbook=wb) TypeError: __init__() takes exactly 3 arguments
- Python 'takes exactly 1 argument (2 given)' Python error
- Python 'takes exactly 1 argument (2 given)' Python error
- PamIE 和COM调用IE出错: TypeError: getElementById() takes exactly 1 argument (2 given)
- django中报错TypeError: su() takes exactly 1 argument (2 given)的解决办法
- TypeError: playMovVideos() takes exactly 2 arument but 3 to given的解决方法
- C++计时
- 解决IE兼容问题
- TCP/IP详解学习笔记(4)-ICMP协议,ping和Traceroute
- vue-cli使用方法
- ANDROID STUDIO系列教程二--基本设置与运行
- python MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() takes exactly 2
- JavaScript之DOM详细使用实例
- 浅析Android Camera开发中的三个尺寸和三种变形 (贡献一个自适配Picturesize和Previewsize的工具类)
- TCP/IP详解学习笔记(5)-IP选路,动态选路,和一些细节
- 几款模板引擎的性能对比
- Find Mode in Binary Search Tree
- shell基础学习
- TCP/IP详解学习笔记(6)-UDP协议
- SQL建立索引