安装程序应该是本地项目的路径或以 svn+、git+、hg+ 或 bzr+ 开头的 VCS url

问题描述

我正在尝试使用以下命令通过 pip 进行本地安装:

# while positioned at the repository's root
pip3 install -e installator

并收到以下错误:

Installator should either be a path to a local project or a VCS url beginning with svn+,git+,hg+,or bzr+

解决方法

你应该这样做
pip3 install -e git+YOUR-GITHUB-URL#egg=YOUR_PACKAGE_NAME
例子:

conda_packages=['mesa-libgl-cos6-x86_64']

参考和更多文档:
https://pip.pypa.io/en/stable/reference/pip_install/#examples

,

您也可以尝试导航到您的主目录并提供:

pip install -e .   

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...