Python 我在使用命令pip install-r requirement.txt安装需求时出错

Python 我在使用命令pip install-r requirement.txt安装需求时出错,python,python-3.x,flask,pip,Python,Python 3.x,Flask,Pip,我已经下载了我朋友的repo进行了一些修改,但是当我试图使用pip install-r requirement.txt从requirement.txt安装需求时,我得到了一个错误消息 Fatal error in launcher: Unable to create process using '"c:\program files\python38\python.exe" "C:\Program Files\Python38\Scripts\pip.exe&quo

我已经下载了我朋友的repo进行了一些修改,但是当我试图使用
pip install-r requirement.txt
从requirement.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.
如何修复此问题?

使用

c:\program files\python38\python.exe  -m C:\Program Files\Python38\Scripts\pip.exe install -r requirement.txt
这相当于
python-mpip安装-r requirements.txt