1 Answer
- Newest
- Most votes
- Most comments
1
Hi Tej,
To resolve the SQLite version issue, please follow the troubleshooting steps provided by Chroma in their official docs. [1]
Chroma requires SQLite > 3.35, if you encounter issues with having too low of a SQLite version please try the following.
1. Install the latest version of Python 3.10, sometimes lower versions of python are bundled with older versions of SQLite.
2. If you are on a Linux system, you can install pysqlite3-binary, pip install pysqlite3-binary and then override the default sqlite3 library before running Chroma with the steps here. Alternatively you can compile SQLite from scratch and replace the library in your python installation with the latest version as documented here.
3. If you are on Windows, you can manually download the latest version of SQLite from https://www.sqlite.org/download.html and replace the DLL in your python installation's DLLs folder with the latest version. You can find your python installation path by running os.path.dirname(sys.executable) in python.
4. If you are using a Debian based Docker container, older Debian versions do not have an up to date SQLite, please use bookworm or higher.
Most likely, it should be resolved by using "pysqlit3-binary" which should override the default sqlite3 library. [2]
References:
[1] https://docs.trychroma.com/troubleshooting#sqlite
[2] https://www.pythonanywhere.com/forums/topic/33348/
Please let me know if this resolves the issue.
Thanks,
Atul
answered 8 months ago
Relevant content
- asked 9 months ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Hi Atul thank you for responding, i am using python shell script in AWS Glue and there are only two versions available which are python 3.6 and python 3.9. I am not sure how to perform all the steps on AWS Glue environment. I have tried including modules in job parameters section but only chroma module is the issue as it needs sqlite3> 3.35 , and i am not sure how to install this on AWS Glue.Could you help me with this?
You can try using "--additional-python-modules" to pass "pysqlit3-binary", and work your step further. Refer to this: https://docs.aws.amazon.com/glue/latest/dg/add-job-python.html#create-python-extra-library