没有这样的选项:--use-feature while installing tensorflow object detection api
no such option: --use-feature while installing tensorflow object detection api
我正在按照 this link 中的步骤安装 Tensorflow 对象检测 API,这是 Tensorflow 2 的官方安装文档。
git clone https://github.com/tensorflow/models.git
> everything is ok
cd models/research/
> everything is ok
protoc object_detection/protos/*.proto --python_out=.
> everything is ok
cp object_detection/packages/tf2/setup.py .
> everything is ok
python -m pip install --use-feature=2020-resolver .
> Usage:
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] <requirement specifier> [package-> index-options] ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] [-e] <vcs project url> ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] [-e] <local project path> ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] <archive url/path> ...
> no such option: --use-feature
有人可以帮我理解为什么安装会停止吗?我正在使用 macOS Mojave、Python 3.6(在 conda 虚拟环境上)和 Tensorflow 2.3.0。
只需要将 pip 从版本 20.0.2 升级到 20.2.2。 github 上的问题也已打开 (here)
我遇到了同样的问题,我将pip版本从20.0.2升级到20.2.2,然后就可以了。
已在 github 上就此事提出了一个问题,请查看 here。
使用python -m pip install --upgrade pip
升级pip。
对于 Tensorflow 安装,您只需删除此选项并使用:
python -m pip install .
阅读this:
pip 20.1 included an alpha version of the new resolver (hidden behind an optional --unstable-feature=resolver flag). pip 20.2 removes that flag, and includes a robust beta of the new resolver (hidden behind an optional --use-feature=2020-resolver flag) that we encourage you to test. We will continue to improve the pip dependency resolver in response to testers’ feedback. Please give us feedback through the resolver testing survey. This will help us prepare to release pip 20.3, with the new resolver on by default, in October.
我正在按照 this link 中的步骤安装 Tensorflow 对象检测 API,这是 Tensorflow 2 的官方安装文档。
git clone https://github.com/tensorflow/models.git
> everything is ok
cd models/research/
> everything is ok
protoc object_detection/protos/*.proto --python_out=.
> everything is ok
cp object_detection/packages/tf2/setup.py .
> everything is ok
python -m pip install --use-feature=2020-resolver .
> Usage:
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] <requirement specifier> [package-> index-options] ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] [-e] <vcs project url> ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] [-e] <local project path> ...
> /opt/anaconda3/envs/ml/bin/python -m pip install [options] <archive url/path> ...
> no such option: --use-feature
有人可以帮我理解为什么安装会停止吗?我正在使用 macOS Mojave、Python 3.6(在 conda 虚拟环境上)和 Tensorflow 2.3.0。
只需要将 pip 从版本 20.0.2 升级到 20.2.2。 github 上的问题也已打开 (here)
我遇到了同样的问题,我将pip版本从20.0.2升级到20.2.2,然后就可以了。
已在 github 上就此事提出了一个问题,请查看 here。
使用python -m pip install --upgrade pip
升级pip。
对于 Tensorflow 安装,您只需删除此选项并使用:
python -m pip install .
阅读this:
pip 20.1 included an alpha version of the new resolver (hidden behind an optional --unstable-feature=resolver flag). pip 20.2 removes that flag, and includes a robust beta of the new resolver (hidden behind an optional --use-feature=2020-resolver flag) that we encourage you to test. We will continue to improve the pip dependency resolver in response to testers’ feedback. Please give us feedback through the resolver testing survey. This will help us prepare to release pip 20.3, with the new resolver on by default, in October.