问题描述
我正在尝试使用以下命令通过 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 .