Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install opencv-python gives error on Raspbian #6448

Closed
Jorge1701 opened this issue Apr 26, 2019 · 5 comments
Closed

pip install opencv-python gives error on Raspbian #6448

Jorge1701 opened this issue Apr 26, 2019 · 5 comments
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support

Comments

@Jorge1701
Copy link

Environment

OS: Raspbian on a Raspberry Pi 3 B+

 $ python --version
Python 2.7.13

 $ python3 --version
Python 3.6.3

 $ pip --version
pip 19.1 from /usr/local/lib/python3.6/site-packages/pip (python 3.6)

Description

I try to execute pip install opencv-python and it gives me an error

I've tried pip install opencv-contrib-python, python3 -m pip install opencv-python and that gives me the same error.

And pip install --upgrade pip before trying to install opencv, but it says I already have the latest version.
Expected behavior

A successful installation of opencv-python
How to Reproduce

I just run pip install opencv-python or one of the above and the error message appears

Output

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting opencv-python
ERROR: Could not find a version that satisfies the requirement opencv-python (from version: none)
ERROR: No matching distribution found for opencv-python
@uranusjr
Copy link
Member

uranusjr commented Apr 29, 2019

OpenCV-Python is wheel-only, and does not publish binaries compatible with ARM, so pip cannot find anything useful to install. You’ll need to ask the project maintainers of OpenCV-Python for assistance.

@pradyunsg pradyunsg added the S: needs triage Issues/PRs that need to be triaged label Jun 22, 2019
@chrahunt
Copy link
Member

Hi @Jorge1701. As mentioned, there are no wheels in PyPI for opencv-python. They are tracking building for ARM in opencv/opencv-python#13. In the meantime you might try piwheels which does have a version of opencv-python available here. Check their homepage for information on how to use it.

I think we can probably track the general improvement to the error message as part of #6526.

Please let us know if you run into any other issues.

@chrahunt chrahunt added S: awaiting response Waiting for a response/more information type: support User Support labels Jul 23, 2019
@triage-new-issues triage-new-issues bot removed the S: needs triage Issues/PRs that need to be triaged label Jul 23, 2019
@chrahunt
Copy link
Member

Closing this issue now, but please come back if you need any help.

@no-response
Copy link

no-response bot commented Oct 6, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@chrahunt
Copy link
Member

chrahunt commented Oct 6, 2019

Uh, thanks bot. 😉

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Nov 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 5, 2019
@pradyunsg pradyunsg removed the S: awaiting response Waiting for a response/more information label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: support User Support
Projects
None yet
Development

No branches or pull requests

4 participants