pip installation /usr/local/opt/python/bin/python2.7: bad interpreter: No such file or directory

后端 未结 19 1134
再見小時候
再見小時候 2020-11-28 19:58

I don\'t know what\'s the deal but I am stuck following some stackoverflow solutions which gets nowhere. Can you please help me on this?

  Monas-MacBook-Pro:         


        
19条回答
  •  眼角桃花
    2020-11-28 20:23

    For me, on centOS 7 I had to remove the old pip link from /bin by

    rm /bin/pip2.7 
    rm /bin/pip
    

    then relink it with

    sudo ln -s  /usr/local/bin/pip2.7 /bin/pip2.7
    

    Then if

    /usr/local/bin/pip2.7
    

    Works, this should work

提交回复
热议问题