Skip to content

Issue With starting Project import cv2 #82

Description

@peteronksley

Hi
Thank you for you tutorial

i am having a issue starting the project at
python3 Object_detection_picamera.py --usbcam
i get this message bellow which says cv2 is missing i tried looking for the missing files using ld and ls but nothing is missing

any ideas?

Traceback (most recent call last):
File "Object_detection_picamera.py", line 23, in
import cv2
File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 3, in
from .cv2 import *
ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

Activity

  1. LutBit commented on Apr 28, 2020

    @LutBit

    have the same problem. with this command its still working LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 Object_detection_picamera.py found in another post.
    Still seems to be just a workaround.

  2. vivekjha832002 commented on May 25, 2020

    @vivekjha832002

    helo facing issue while starting

    this error is coming
    Traceback (most recent call last):
    File "Object_detection_picamera.py", line 23, in
    import cv2
    File "/usr/local/lib/python3.7/dist-packages/cv2/init.py", line 3, in
    from .cv2 import *
    ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

  3. mali-x commented on Jun 2, 2020

    @mali-x

    How could I solve this problem that I don't need to add at startup: LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 python3 Object_detection_picamera.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions