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

后端 未结 10 1084
执笔经年
执笔经年 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:53

    Actually, I had a problem that OS/system which means root, not sudo, has been the owner of the pip2 package. But after I had executed this command:

    sudo apt-get remove python-pip
    

    it worked like a charm.
    Noting, of course that I have a debian distribution.

    And then I used what Pedro suggested:

    sudo pip install setuptools==33.1.1
    

提交回复
热议问题