简体   繁体   English

'pip'不被识别为内部或外部命令,可操作程序或批处理文件

[英]'pip' is not recognized as an internal or external command, operable program or batch file

I'm trying to install Tweepy using pip, but I keep getting this as the response: 我正在尝试使用pip安装Tweepy,但我一直收到此消息作为响应: 在此处输入图片说明

I've seen similar problems and people always suggest adding C:\\Python34\\Scripts to your PATH. 我见过类似的问题,人们总是建议将C:\\ Python34 \\ Scripts添加到PATH中。 Here is what happens when I try and do that: 当我尝试这样做时会发生以下情况: 在此处输入图片说明

Then when I do echo %PATH% it doesn't show the path that I added. 然后,当我回显%PATH%时,它不会显示我添加的路径。 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. 我浏览了与我的非常相似的其他多个问题,但是没有一个解决方案有效。

Thanks for the help in advance! 我在这里先向您的帮助表示感谢!

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. 它通过GUI而不是通过命令行添加。

http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

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. 第二种解决方案是,您可以cd进入包含pip的目录,并每次都从那里使用它,但这仅是在没有其他方法的情况下。

It seems like you are using windows so you need to download the get-pip.py and run like this. 似乎您使用的是Windows,因此您需要下载get-pip.py并像这样运行。

Path_to_your_Python.exe\\python.exe Path_to_get-pip.py\\get-pip.py tweepy

Here is the link for download get-pip.py 这是下载链接get-pip.py

暂无
暂无

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

相关问题 'pip3' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'pip3' is not recognized as an internal or external command, operable program or batch file pip 不是内部或外部命令,也不是可运行的程序或批处理文件 - pip is not recognized as an internal or external command, operable program or batch file 'pip' 不是内部或外部命令、可运行程序或批处理 - 'pip' is not recognized as an internal or external command, operable program or batch 'pip' 不是内部或外部命令,也不是可运行的程序或批处理文件。 找不到pip文件 - 'pip' is not recognized as an internal or external command, operable program or batch file. Cant find pip file pip 安装出错:“pip”未被识别为内部或外部命令、可运行程序或批处理文件 - Error with pip install: 'pip' is not recognized as an internal or external command, operable program or batch file 安装tensorflow,得到错误'pip3',未被识别为内部或外部命令,可操作程序或批处理文件” - Installing tensorflow, getting error 'pip3' is not recognized as an internal or external command, operable program or batch file" 不是内部或外部命令、可运行的程序或批处理文件 - is not recognized as an internal or external command, operable program or batch file '{'不被识别为内部或外部命令,可操作程序或批处理文件 - '{' is not recognized as an internal or external command, operable program or batch file '。' 不被识别为内部或外部命令、可运行程序或批处理文件。 什么是 '。'? - '.' is not recognized as an internal or external command, operable program or batch file. What is '.'? python 不被识别为内部或外部命令、可运行程序或批处理文件 - python is not recognized as an internal or external command, operable program or batch file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM