chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
792 stars 130 forks source link

Unable to install opencv-contrib-python #1228

Closed Sugamshaw closed 3 weeks ago

Sugamshaw commented 1 month ago

Chaquopy Version

15.0.1

Relevant Parts of Your build.gradle File

chaquopy { defaultConfig { pip { install("numpy") install("requests==2.24.0") install("opencv-contrib-python==4.5.1.48") } } }

Describe Your Issue

I am experiencing issues with installing the opencv-contrib-python==4.5.1.48 package using Chaquopy.

Error Message

Failed to install opencv-contrib-python==4.5.1.48 from https://files.pythonhosted.org/packages/42/02/7b2fb0b81266aa3243dd8f392d48db1a206cc9a1856a14228e75c515616e/opencv-contrib-python-4.5.1.48.tar.gz#sha256=74ebf353d7e1666066265922153a0f60fff9e1dd603f5929b13a99415363f078. Screenshot 2024-08-13 002938

mhsmith commented 1 month ago

As you can see from the repository, we currently only support OpenCV on Python 3.8. To change your app's Python version, see these instructions.

If that doesn't help, please post the FULL build log. To see it, click the “Build: failed” caption to the left of the error.