简体   繁体   English

无法识别Python pip安装easy_install

[英]Python pip installation easy_install not recognized

i installed setuptools from here: 我从这里安装了setuptools:

pypi.python.org/pypi/setuptools 

i go to my command line and enter easy_install but it says easy_install is not recognized , 我转到命令行并输入easy_install,但它说easy_install is not recognized

anyone knows what is happening here? 有人知道这里发生了什么吗? i got no error message when installing setuptools. 安装setuptools时没有错误消息。

I am using windows, 我正在使用Windows,

any help would be appreciated 任何帮助,将不胜感激

You have to Add your scripts folder in your python installation folder to your PATH variable, for example if your python is installed in C:\\Python27 you should do this : 您必须将python安装文件夹中的scripts文件夹添加到PATH变量中,例如,如果python安装在C:\\Python27 ,则应执行以下操作:

  1. Go to Control Panel 转到控制面板
  2. Go to Edit system environment variables 转到Edit system environment variables
  3. In the Advanced tab click on Environment Variables Advanced选项卡中,单击Environment Variables
  4. find PATH variable and add ;C:\\Python27\\scripts to the end of it 找到PATH变量,并在其末尾添加;C:\\Python27\\scripts

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM