Upgrading setuptools on OSX El Capitan

前端 未结 3 1284
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 12:01

I\'m trying to upgrade setuptools. Well actually I\'m trying to upgrade ansible but it\'s trying to upgrade setuptools and failing. Trying to do it myself also fails. Even t

3条回答
  •  借酒劲吻你
    2020-12-12 12:19

    This happens due to the System Integrity Protection introduced in OS X El Capitan.

    Adding --user python to the command allowed this to work.

    In other words

    pip install --upgrade setuptools --user python
    

提交回复
热议问题