【问题标题】:Error in installing from requirements file [closed]从需求文件安装时出错[关闭]
【发布时间】:2021-04-24 06:34:21
【问题描述】:

从需求文件安装时出现以下错误。

Requirements

Error

【问题讨论】:

    标签: python python-3.x pip requirements.txt


    【解决方案1】:

    尝试使用以下命令在你的 linux 机器上安装 open ssl

    sudo apt-get update && sudo apt-get install libssl-dev
    

    然后尝试从需求文件中安装您的

    pip install -r requirements.txt
    

    【讨论】:

    【解决方案2】:

    使用pip 运行每一行

    cat requirements.txt | xargs -n 1 pip install
    

    【讨论】:

    • 猫要求.txt | xargs -n 1 pip install xargs: pip: 没有这样的文件或目录
    • 改用pip3。在您使用pip 的同一目录中是否有requirements.txt
    • 是的,我试试 pip3
    • 它可以工作,但是 Graphviz 错误仍然存​​在。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-05
    • 1970-01-01
    • 1970-01-01
    • 2018-02-22
    • 1970-01-01
    相关资源
    最近更新 更多