'pip'不被识别为内部或外部命令,可操作程序或批处理文件 [英] 'pip' is not recognized as an internal or external command, operable program or batch file

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

问题描述

我正在尝试使用pip安装Tweepy,但我一直收到此消息作为响应:

I'm trying to install Tweepy using pip, but I keep getting this as the response:

我也遇到过类似的问题,人们总是建议在您的PATH中添加C:\ Python34 \ Scripts.当我尝试这样做时会发生以下情况:

I've seen similar problems and people always suggest adding C:\Python34\Scripts to your PATH. Here is what happens when I try and do that:

然后,当我回显%PATH%时,它不会显示我添加的路径.使用pip仍然不起作用.

Then when I do echo %PATH% it doesn't show the path that I added. Using pip still does not work.

如何在可以使用pip的地方使用它?我浏览了其他多个问题,这些问题与我的非常相似,但是没有一个解决方案有效.

How do I make it to where I am able to use pip? I looked through multiple other questions that were VERY similar to mine, but none of the solutions worked.

谢谢您的帮助!

推荐答案

我建议使用本指南将新文件夹添加到系统路径,通常对我有用.它通过GUI而不是通过命令行添加.

I would recommend using this guide for adding a new folder to your system path, normally works for me. It goes through a GUI instead of adding through the command line.

http://windowsitpro. com/systems-management/如何添加新文件夹我的系统路径

第二种解决方案是,您可以将cd插入包含pip的目录,并每次都从那里使用它,但这仅在没有其他方法起作用的情况下进行.

A second solution is that you can just cd into the directory that contains pip and use it from there each time, but thats only if nothing else works.

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

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