Unable to upgrade python six package in mac osx 10.10.2

前端 未结 10 1960
情书的邮戳
情书的邮戳 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 20:59

    I resolved the problem by the following method.

    1. Download the six-1.10.0.tar.gz package
    2. Use this command to install it.

    python setup.py install

    This works because it installs the new version of six to /Library/Python/2.7/site-packages/ which is searched before /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/

提交回复
热议问题