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

后端 未结 10 1099
执笔经年
执笔经年 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 21:59

    I ran into the same problem on a new virtualenv trying to install. I'm running python 2.7.11 and found the two commands belows solve the versioning problem with setuptools:

    This forces a pip upgrade, which has a fix for the bug, but doesn't reinstall setup tools, so I was still running on setuptools version 35.0.1

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

    This sets setuptools to an older version.

    pip install setuptools==33.1.1

    After this, I successfully installed my requirements.

提交回复
热议问题