【问题标题】:I am trying to install requirements.txt for my project but it returns the error given below?我正在尝试为我的项目安装 requirements.txt 但它返回下面给出的错误?
【发布时间】:2022-11-19 13:40:27
【问题描述】:

尝试安装这些软件包,但每次都会出现同样的问题。 我应该怎么办 ?

tensorflow==2.4.1
nltk==3.5
keras==2.4.3
numpy==1.19.5
streamlit==0.52.1
seaborn==0.11.1
tweepy==3.10.0
textblob==0.15.3
flask==1.1.2
pandas==1.2.2
matplotlib==3.2
scikit_learn==0.24.1
statsmodels==0.12.2
yfinance==0.1.54
alpha_vantage==2.3.1
https://pypi.anaconda.org/berber/simple/tweet-preprocessor/0.5.0/tweet-preprocessor-0.5.0.tar.gz

Output that i have been getting

【问题讨论】:

  • 你在pip install中使用了什么命令
  • 你确定你的requirements.txt在指定的目录下吗?你能告诉我们Get-ChildItem 输出了什么吗?

标签: python requirements.txt


【解决方案1】:

它说当前工作目录中不存在 requirements.txt。该文件是否在 Stock-Market.. 目录中?

我注意到的另一件事是您没有激活虚拟环境。但是不知道你要不要专门安装在一个venv中。

【讨论】:

    猜你喜欢
    • 2018-08-19
    • 2019-03-09
    • 1970-01-01
    • 2021-12-19
    • 2020-06-07
    • 2013-08-06
    • 1970-01-01
    • 2020-04-26
    • 2019-03-23
    相关资源
    最近更新 更多