How to install easy_install in Python 2.7.1 on Windows 7

前端 未结 7 1602
半阙折子戏
半阙折子戏 2021-01-30 13:44

I have installed Python 2.7.1 on Windows 7, but I am unable to install easy_install. Please help me.

7条回答
  •  长发绾君心
    2021-01-30 14:36

    I usually just run ez_setup.py. IIRC, that works fine, at least with UAC off.

    It also creates an easy_install executable in your Python\scripts subdirectory, which should be in your PATH.

    UPDATE: I highly recommend not to bother with easy_install anymore! Jump right to pip, it's better in every regard!
    Installation is just as simple: from the installation instructions page, you can download get-pip.py and run it. Works just like the ez_setup.py mentioned above.

提交回复
热议问题