Giter Club home page Giter Club logo

Comments (8)

ninjadev64 avatar ninjadev64 commented on June 3, 2024

(@pageauc)

from speed-camera.

pageauc avatar pageauc commented on June 3, 2024

from speed-camera.

pageauc avatar pageauc commented on June 3, 2024

from speed-camera.

pageauc avatar pageauc commented on June 3, 2024

from speed-camera.

pageauc avatar pageauc commented on June 3, 2024

from speed-camera.

ninjadev64 avatar ninjadev64 commented on June 3, 2024

BTW It is a good practice to perform a sudo apt update followed by a sudo

apt upgrade before doing any software install

Claude ....

Yes, I did do this (it took nearly 1 hour 😅)

from speed-camera.

ninjadev64 avatar ninjadev64 commented on June 3, 2024

You should get the python version number. If not there may be a corrupt python lib .so file or path problem. This can happen with a download glitch.

Yep, it was this.

aman@octopi:~ $ python3
Python 3.9.2 (default, Mar 12 2021, 04:06:34) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aman/.local/lib/python3.9/site-packages/cv2/__init__.py", line 181, in <module>
    bootstrap()
  File "/home/aman/.local/lib/python3.9/site-packages/cv2/__init__.py", line 153, in bootstrap
    native_module = importlib.import_module("cv2")
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /home/aman/.local/lib/python3.9/site-packages/cv2/cv2.abi3.so: undefined symbol: __atomic_store_8
>>> 

How should I restore this file?

from speed-camera.

ninjadev64 avatar ninjadev64 commented on June 3, 2024

I solved it!

I had it installed both with pip and with apt. There was something wrong with the pip version but it was still preferring it.

pip uninstall opencv-python did the trick.

from speed-camera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.