piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Missing package: opencv-contrib-python-headless #165

Closed doobran closed 3 years ago

doobran commented 3 years ago

Package name: opencv-contrib-python-headless Issue type: ImportError - undefined symbol Link to piwheels page: https://www.piwheels.org/project/opencv-contrib-python-headless/#install Version: all Python version: 3.7 I am the maintainer: No More information: ImportError: /home/pi/.local/lib/python3.7/site-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

Please use code blocks where appropriate:

python3
import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/.local/lib/python3.7/site-packages/cv2/__init__.py", line 3, in <module>
    from .cv2 import *
ImportError: /home/pi/.local/lib/python3.7/site-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8
bennuttall commented 3 years ago

This is a duplicate of #59 - you'll find the workaround there.

Newer versions of the other opencv packages are available now but the contrib ones are not uploaded to PyPI so we don't have those. You might want to install opencv-python-headless instead if you don't specifically need contrib.