简体   繁体   English

我如何下载requirements.txt?

[英]How can i download requirements.txt?

Before i start to telling my problem, my command prompt is not exist.在我开始讲述我的问题之前,我的命令提示符不存在。 I got Windows Powershell on Windows 10.我在 Windows 10 上安装了 Windows Powershell。

My text is:我的文字是:

PyWavelets==0.5.2
opencv-python==3.4.3.18
seaborn==0.8.1

And i did that:我这样做了:

pip install -r .\requirements.txt

Error:错误:

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
pelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install -r .\requirements.txt
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

What's wrong?怎么了? Something missed out.漏掉了一些东西。

If you have pip installed on your machine, it's probably because it's not found in your environment variables and windows doesn't recognize what you are trying to say by 'pip'.如果您的机器上安装了 pip,那可能是因为在您的环境变量中找不到它,并且 Windows 无法识别您试图通过 'pip' 说的内容。 You have to tell it where to find it.你必须告诉它在哪里可以找到它。

To add it to your paths, go to Advanced System Settings in the control panel/ settigs.要将其添加到您的路径中,请转到控制面板/设置中的高级系统设置。 Then Environment Variables > System Variables > Path > double click the value part, and in a new line enter your pip binary's location (probably C:\\Python33\\Scripts, but you may have another path).然后环境变量 > 系统变量 > 路径 > 双击值部分,并在新行中输入您的 pip 二进制文件的位置(可能是 C:\\Python33\\Scripts,但您可能还有其他路径)。

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

相关问题 如何使用 `pip install -r requirements.txt` 通过 `requirements.txt` 下载 NLTK 语料库? - How can I download NLTK corpora via `requirements.txt` using `pip install -r requirements.txt`? 如何合并多个 python requirements.txt 文件? - How can I merge multiple python requirements.txt files? 如何在 Google colab 中创建 requirements.txt? - How can I create a requirements.txt in Google colab? 如何将依赖项与requirements.txt分开? - How can I separate out dependencies from requirements.txt? 无法安装requirements.txt - Can not install requirements.txt 如何重新安装Requirements.txt - How to reinstall requirements.txt 我可以在我的 requirements.txt 中有一个可编辑的条目吗? - Can I have an editable entry in my requirements.txt? 如何使用 requirements.txt 在 Heroku python web 应用程序中安装 Dlib? - How can I install Dlib in a Heroku python web app using requirements.txt? 如何从存储库中删除带有Django项目的virtualenv并添加requirements.txt文件? - How can I delete virtualenv with Django project from repository and add requirements.txt file? 如何为我的开发平台上不可用的包生成 requirements.txt 文件? - How can I generate a requirements.txt file for a package not available on my development platform?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM