如何在可编辑模式下安装带有pip的包,同时不安装其依赖项?
我尝试了--no-deps
和--no-dependencies
:
$ pip install -e --no-deps .
ERROR: --no-deps is not a valid editable requirement. It should
either be a path to a local project or a VCS URL (beginning with svn+,
git+, hg+, or bzr+).
$ pip install -e --no-dependencies .
ERROR: --no-dependencies is not a valid editable requirement. It should
either be a path to a local project or a VCS URL (beginning with svn+,
git+, hg+, or bzr+).
但我总是出错。
省略-e
或--no-deps
作品:
$ pip install -e .
$ pip install --no-deps .
pip
在这里有点古怪。在-e
选项之前必须有--no-deps
选项:
pip install --no-deps -e .
从技术上讲,文档将CCD_;选项";。