'easy_install' 不是内部或外部命令,也不是可运行的程序或批处理文件 [英] 'easy_install' is not recognized as an in internal or external command, operable program or batch file

查看:430
本文介绍了'easy_install' 不是内部或外部命令,也不是可运行的程序或批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的 Windows 7 机器上下载并安装了最新版本的 Python.

Python 2.7.3

现在我想安装一个我在网上找到的

  • C:\Python27\Scripts 添加到您的 PATH

  • I have just downloaded and installed the latest version of Python on my Windows 7 machine.

    Python 2.7.3
    

    Now I want to install a Twitter library I found online:

    However when I try to run easy_install tweepy, I get this error message:

    'easy_install' is not recognized as an in internal or external command, operable program or batch file.

    Python has already been placed into my path, as I can invoke the Python program into the command line.


    Here is a screenshot of my folder where Python is installed.

    And inside the Tools folder:

    And inside the scripts folder:

    解决方案

    You need to:

    1. Install easy_install: http://pypi.python.org/pypi/setuptools

    2. Add C:\Python27\Scripts to your PATH

    这篇关于'easy_install' 不是内部或外部命令,也不是可运行的程序或批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆