我正在尝试从使用pipreqs生成的需求文件中pip安装软件包。你知道吗
但是,我不断遇到以下错误消息:
fatal: repository 'https://raw.githubusercontent.com/EmmS21/SpringboardCapstoneBoxingPredictionWebApp/master/code/requirements.txt/' not found
ERROR: Command errored out with exit status 128: git clone -q https://raw.githubusercontent.com/EmmS21/SpringboardCapstoneBoxingPredictionWebApp/master/code/requirements.txt 'C:\Users\User\Documents\src\pandas' Check the logs for full command output.
这是我写的代码:
pip install -e git+https://raw.githubusercontent.com/EmmS21/SpringboardCapstoneBoxingPredictionWebApp/master/code/requirements.txt#egg=pandas
-r
安装需求。git+
仅当您试图从git repo安装包时才需要,但是您有到该文件的直接链接,所以请删除该链接。你知道吗如果使用的是
pip install -e
,则不能直接指定requirements.txt
文件。pip
正在尝试克隆存储库的副本,并且/master/code
等使其成为无效的git存储库URL。你知道吗我猜是中的
/
导致了问题https://raw.githubusercontent.com/EmmS21/SpringboardCapstoneBoxingPredictionWebApp/master/code/requirements.txt
您可以通过:
pip install -r https://raw.githubusercontent.com/EmmS21/SpringboardCapstoneBoxingPredictionWebApp/master/code/requirements.txt
安装它相关问题 更多 >
编程相关推荐