【问题标题】:I am getting error while installing the requirements using the command pip install -r requirement.txt使用命令 pip install -r requirements.txt 安装要求时出现错误
【发布时间】:2020-07-03 04:25:53
【问题描述】:

我已经下载了我朋友的 repo 进行了一些修改,但是当我尝试使用 pip install -r requirement.txt 从 requirements.txt 安装需求时,我收到错误提示

Fatal error in launcher: Unable to create process using '"c:\program files\python38\python.exe"  "C:\Program Files\Python38\Scripts\pip.exe" install -r requirement.txt': The system cannot find the file specified.

我该如何解决这个问题?

【问题讨论】:

    标签: python python-3.x flask pip


    【解决方案1】:

    使用

    c:\program files\python38\python.exe  -m C:\Program Files\Python38\Scripts\pip.exe install -r requirement.txt
    

    相当于python -m pip install -r requirements.txt

    【讨论】:

      猜你喜欢
      • 2021-04-11
      • 1970-01-01
      • 2021-02-01
      • 2019-12-23
      • 1970-01-01
      • 2020-01-11
      • 2021-11-05
      • 2016-04-26
      相关资源
      最近更新 更多