Unable to upgrade python six package in mac osx 10.10.2

前端 未结 10 1962
情书的邮戳
情书的邮戳 2020-12-08 20:21

I am trying to install latest version of six python package but I have following issues. Can\'t get rid of six 1.4.1 in mac OSX 10.10.2

sudo pip install six          


        
10条回答
  •  粉色の甜心
    2020-12-08 21:17

    Your pip binary belongs to /usr/local/bin/python, whereas python points to /usr/bin/python. As a consequence

    pip install --upgrade six
    

    will install to /usr/local/bin/python.

    The command below will make sure that the right version of pip is used:

    python -m pip install --upgrade six
    

提交回复
热议问题