重新安装python 3.7.3后无法安装需求文件

问题描述 投票:0回答:1

我在我的系统上安装了python 3.7(32位),但无法在其上运行TensorFlow,所以我制作了所有软件包的需求文件并卸载了python。我安装了python 3.7.3(64位)后,

pip install -r requirements.txt

与requirements.txt文件在同一目录但我收到此错误:

Invalid requirement: 'pip install'

这是在语法错误的情况下requirements.txt文件的样子。

kiwisolver==1.0.1
lxml==4.3.1
MarkupSafe==1.1.0
matplotlib==3.0.2
mglearn==0.1.7
mistune==0.8.4
nbconvert==5.4.0
nbformat==4.4.0
nose==1.3.7
notebook==5.7.4
numpy==1.16.0
pandas==0.24.1

我究竟做错了什么?我搜索了它,一篇帖子告诉我,requirements.txt的语法可能是错误的,但我不知道如何转换它。

python-3.x pip
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.