easy_install with various versions of python installed, mac osx

前端 未结 2 429
心在旅途
心在旅途 2020-12-01 15:17

I have various versions of python on a mac OSX 10.6 machine, some of them installed with macports:

> python_select -l
Available versions:
current none pyt         


        
相关标签:
2条回答
  • 2020-12-01 15:18

    If you want your "easy_install" match your updated python version, follow these steps:

    Download the corresponding .egg file at http://pypi.python.org/pypi/setuptools#files Run it as if it were a shell script: sh setuptools-0.6c9-py2.7.egg This will install the new "easy_install" executable, compatible with your current version of python.

    Hope this helps.

    (more details at http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other)

    0 讨论(0)
  • 2020-12-01 15:37

    Be sure to use the -prefix= option on that shell script to control where your easy_install version lands.

    0 讨论(0)
提交回复
热议问题