How to install setuptools?

前端 未结 4 1031
悲&欢浪女
悲&欢浪女 2020-12-09 23:42

I\'m trying to install setuptools. When I run \"sh setuptools-0.6c9-py2.4.egg\" I get the following message:

Permission denied: \'/usr/lib/python2.4

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 23:51

    Virtualenv comes with setuptools pre-installed, I believe. I know that it at least comes with easy_install. You should then be able to run:

    /home/myname/bin/easy_install setuptools
    

    This should install the newest version of setuptools on your virtualenv.

提交回复
热议问题