-
Notifications
You must be signed in to change notification settings - Fork 142
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
Could not find a version that satisfies the requirement google-generativeai>=0.8.2 (from versions: 0.1.0rc1, 0.1.0rc2) #1309
Comments
The current versions of this package require at least Python 3.9. You can set your app's Python version as shown in the documentation. To work around #1017, you'll also have to add the following line:
|
The problem is Gemini is having trouble with python version less than 3.10 |
I said "at least Python 3.9", so 3.10 should also be fine. |
|
@mhsmith still doesnt-'t work |
You still haven't changed the Python version of your app. Follow the instructions in my previous comment. |
chaquopy { Package 'numpy' requires a different Python: 3.8.10 not in '>=3.9' |
See #1295 (comment). |
Thank you it works. |
Chaquopy version
16.0.0
Relevant parts of your build.gradle file
python {
// buildPython "C:\Users\utsav\AppData\Local\Programs\Python\Python311\python.exe"
buildPython "python3.10"
}
python {
pip {
install "numpy"
install "pillow"
install "requests"
install "urllib3==1.25.4"
install "boto3==1.34.65"
install "google-generativeai>=0.8.2"
}
}
}
Describe your issue
The google generative ai library needs to be updaed
The text was updated successfully, but these errors were encountered: