Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV package has import error #18

Closed
Rybec opened this issue Jan 11, 2019 · 4 comments
Closed

OpenCV package has import error #18

Rybec opened this issue Jan 11, 2019 · 4 comments

Comments

@Rybec
Copy link

Rybec commented Jan 11, 2019

It appears that the OpenCV package found here seems to have the same bug as 3.4.4-1, reported here: https://bugs.archlinux.org/task/60855

@Rybec
Copy link
Author

Rybec commented Jan 11, 2019

I should add: Compiling from source is not an option for me. I have tried this, and everything works up until it gets to linking. My device has only 1GB of ram, which is not enough, and there are no resources for rooting it, which makes adding swap impossible. The only remaining option is to find a working binary.

@its-pointless
Copy link
Owner

Try
mv /data/data/com.termux/files/usr/python/cv2/python-3.7/cv2.cpython-37m-x86_64-linux-gnu.so /data/data/com.termux/files/usr/python/cv2/python-3.7/cv2.so

@Rybec
Copy link
Author

Rybec commented Jan 12, 2019

That seems to have worked! Thank you!

(I'll let you decide whether you just want to close this or leave it open as a reminder to fix the .deb, if you intend on doing that.)

@its-pointless
Copy link
Owner

Works fine now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants