Why is Python easy_install not working on my Mac?

后端 未结 7 643
甜味超标
甜味超标 2020-11-28 19:39

I have a Mac running Python 2.6. When I try to use easy_install I get this message:

/usr/bin/easy_install-2.6:7: UserWarning: Module pkg_resourc         


        
7条回答
  •  隐瞒了意图╮
    2020-11-28 20:31

    I suspect the easiest way you can get easy_install working again is to install distribute, which is an improved version of distutils that bundles it's own version of easy_install. Installation is simple:

    curl -O http://python-distribute.org/distribute_setup.py
    /usr/bin/python2.6 distribute_setup.py
    

提交回复
热议问题