pip is error,TypeError: __call__() takes exactly 2 arguments (1 given)

后端 未结 10 1074
执笔经年
执笔经年 2020-12-07 21:41

system

  • centos 7.2
  • Python 2.7.5

install

I install webhook

pip install webhook
### but hava error,then
yum in         


        
10条回答
  •  一整个雨季
    2020-12-07 22:17

    I had the same problem on a fresh virtualenv and apparently this is a conflict between the version requirements for packaging, pip and pyparsing with the new setuptools. What worked for me was to pin down the old one.

    pip install setuptools==33.1.1
    

    Update:

    As another answer pointed out, pip has already fixed the bug, so you should try upgrading it instead of using the workaround above.

    python -m pip install --upgrade --force pip 
    

提交回复
热议问题