0

我正在尝试使用以下命令通过 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+
4

2 回答 2

1

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

pip install -e .   
于 2021-05-24T04:33:23.503 回答
0

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

pip3 install -e git+https://github.com/user/repo.git#egg=mypackagename

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

于 2021-02-14T10:21:24.730 回答