pip3 install opencv-python Raspbian 错误
pip3 install opencv-python error on Raspbian
我正在尝试使用以下命令安装 opencv-python
sudo pip3 install opencv-python
但我一直收到以下错误
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
我尝试使用命令 pip install --upgrade pip
升级 pip,然后再次尝试安装 opencv-python
,但我仍然遇到同样的错误。
这是因为 pypi 上没有 .whl
树莓派架构。您还可以在 opencv-python
README on Github:
的常见问题解答部分看到此内容
Q: Pip fails with Could not find a version that satisfies the requirement ...?
A: Most likely the issue is related to too old pip and can be fixed by running pip install --upgrade pip. Note that the wheel (especially manylinux) format does not currently support properly ARM architecture so there are no packages for ARM based platforms in PyPI. However, opencv-python packages for Raspberry Pi can be found from https://www.piwheels.org/.
如果您遇到任何问题,您应该始终检查这些页面以了解其他依赖项或特殊体系结构的安装说明。
请注意,您可以通过访问 Pypi page 然后选择 Homepage
按钮快速到达那里
我正在尝试使用以下命令安装 opencv-python
sudo pip3 install opencv-python
但我一直收到以下错误 ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
我尝试使用命令 pip install --upgrade pip
升级 pip,然后再次尝试安装 opencv-python
,但我仍然遇到同样的错误。
这是因为 pypi 上没有 .whl
树莓派架构。您还可以在 opencv-python
README on Github:
Q: Pip fails with Could not find a version that satisfies the requirement ...?
A: Most likely the issue is related to too old pip and can be fixed by running pip install --upgrade pip. Note that the wheel (especially manylinux) format does not currently support properly ARM architecture so there are no packages for ARM based platforms in PyPI. However, opencv-python packages for Raspberry Pi can be found from https://www.piwheels.org/.
如果您遇到任何问题,您应该始终检查这些页面以了解其他依赖项或特殊体系结构的安装说明。
请注意,您可以通过访问 Pypi page 然后选择 Homepage
按钮快速到达那里