Easy_install and Pip doesn't work

前端 未结 6 845
臣服心动
臣服心动 2020-12-15 06:39

Easy_install and Pip doesn\'t work anymore on python 2.7, when I try to do:

sudo easy_install pip

I get:

Traceback (most re         


        
6条回答
  •  隐瞒了意图╮
    2020-12-15 07:37

    I had a similar problem, but things were working fine as root. In my case, I found that the permissions on the python packages were not readable by the ID I was running the command under.

    To correct it, I ran the following command to open the permission for read and execute to all users:

    sudo chmod o+rx -R /usr/local/lib/python2.7/dist-packages/*.egg
    

提交回复
热议问题