安装错误easy_install python

ths*_*104 4 python windows easy-install

我使用的是Windows 7和Python IDLE.

我正在尝试使用easy_install但是却出现了这个错误:

回溯(最近一次调用最后一次):easy_install中的文件"",第1行NameError:名称'easy_install'未定义

包含在我的"Path"中的安装目录(C:\ Python27\Scripts).什么可能出错?

也许......在Python IDLE> File> Path浏览器中,我看不到C:\ Python27\Scripts.如何添加?

kox*_*oxt 5

确保你已完成所有这些.

  • 将Python添加到Windows路径.
  • 下载并安装适当的python版本的setuptools.
  • 将Scripts目录(例如C:\ Python27\Scripts)添加到Windows Path.您可以通过打开命令提示符并键入" easy_install" 来检查安装.