I am using Chaquo plugin to run some python code in my android app I followed the instructions as below, but when I try to install openvino package I got the following error:
ERROR: Could not find a version that satisfies the requirement openvino==2023.1.0 (from versions: none) ERROR: No matching distribution found for openvino==2023.1.0
I tried too many openvino versions, and different python versions put It keeps showing the error in build process.
I tried to install the same package on my mac laptop and it is installed fine.
Here is my build project details:
plugins block in project level file:
plugins {
id("com.android.application") version "8.1.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
id("com.chaquo.python") version "14.0.2" apply false
}
plugins block in module level
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.chaquo.python")
}
defaule config block
defaultConfig {
applicationId = "my app id"
minSdk = 24
targetSdk = 33
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
python {
version "3.8"
pip{
options "--extra-index-url", "https://pypi.org/project"
install "openvino"
}
}
}
I did not write any code yet, the project build keeps fail due to the mentioned error
OpenVINO™ Toolkit and PyPI package is only supported for the following Operating Systems:
Refer System Requirements for more information.