There could be multiple reasons why the installation of opencv-contrib-python
is stuck at "building wheels for opencv-contrib-python" on Raspberry Pi 3. Some common reasons are:
Insufficient RAM: The Raspberry Pi 3 has limited RAM, and building the wheels for opencv-contrib-python can take up a lot of memory. If the device runs out of memory, the installation process will become slow, or it might even get stuck. Adding a swap file can help to address this issue.
Slow Internet connection: Building the wheels for opencv-contrib-python requires downloading and compiling many dependencies. A slow internet connection can make the download process slower, which will, in turn, make the installation slower.
Unoptimized code: The code for building the wheels might not be optimized for the Raspberry Pi 3's ARM processor. This can cause the installation to become slow or get stuck during the build process.
To resolve the issue, try increasing the device's RAM, use a faster internet connection, and check for any updates or optimizations for the installation code.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-26 08:41:56 +0000
Seen: 1 times
Last updated: May 26
How can I set up Gunicorn with a Django Project?
Looking for a Python Module that finds Tags for a Text describing its Content
Need a Function in Python to remove entries less than 2 digits from an Array
How can I convert a Document in Python?
How can I program a Loop in Python?
How can I enable Python Code Highlighting in Askbot?