Giter Club home page Giter Club logo

Comments (6)

mdegans avatar mdegans commented on August 20, 2024 1

Thanks for spotting this. I'd consider it still an open issue. Looks like it might be a good idea to purge any existing opencv before installing since it'll likely use the old version.

from nano_build_opencv.

mdegans avatar mdegans commented on August 20, 2024 1

Jsut a fyi, to anybody experiencing this, the above fix will work, but removing these apt package will also do the trick and possibly avoid other issues:

libopencv          libopencv-dev      libopencv-python   libopencv-samples

so sudo apt purge or sudo apt remove those and you should be fine.

from nano_build_opencv.

laclouis5 avatar laclouis5 commented on August 20, 2024

Ok, this did the trick:

sudo cp /usr/local/lib/python3.6/dist-packages/cv2/python-3.6/*.so /usr/lib/python3.6/dist-packages/cv2/python-3.6/

from nano_build_opencv.

Randy37773 avatar Randy37773 commented on August 20, 2024

unfortunately this does not the trick for me.
build_opencv.sh runs without errors (4.4 and 4.5.5), but cuda-support is only available in python2.7 not in python3.6.

sudo cp /usr/local/lib/python3.6/dist-packages/cv2/python-3.6/*.so /usr/lib/python3.6/dist-packages/cv2/python-3.6/

from nano_build_opencv.

tsubasa9647 avatar tsubasa9647 commented on August 20, 2024

@Randy37773
I was able to resolve the issue by running the script below.
sudo cp /usr/local/lib/python3.6/site-packages/cv2/python-3.8/*.so /usr/lib/python3.8/dist-packages/cv2/python-3.8/

from nano_build_opencv.

IraeMare avatar IraeMare commented on August 20, 2024

Solve it for me:
ln -s /usr/local/lib/python3.6/site-packages/cv2/python-3.6/cv2.cpython-36m-aarch64-linux-gnu.so cv2.so

UPD:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.6/site-packages

from nano_build_opencv.

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.