I am able to successfully run a simple python script that loads on an emulator but once I use a function that leverages llama-index, it fails. Tried adding the package to gradle as well.
Chaquopy version
id("com.chaquo.python") version "15.0.1
Relevant parts of your build.gradle file
chaquopy {
defaultConfig {
version = "3.8"
pip {
// A requirement specifier, with or without a version number:
install("pip")
install("setuptools")
//install("pydantic==1.10.2")
install("llama-index")
}
}
sourceSets {
getByName("main") {
srcDir("kotlin/data/python")
}
}
}
android {
namespace = "com.google.ai.sample"
compileSdk = 34
defaultConfig {
applicationId = "com.google.ai.sample"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "1.0"
ndk {
// On Apple silicon, you can omit x86_64.
abiFilters += listOf("arm64-v8a", "x86_64")
}
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
I am able to successfully run a simple python script that loads on an emulator but once I use a function that leverages llama-index, it fails. Tried adding the package to gradle as well.
Chaquopy version
id("com.chaquo.python") version "15.0.1
Relevant parts of your build.gradle file
Describe your issue