From d752264782cbb5486405df8cefcea3017808e165 Mon Sep 17 00:00:00 2001 From: Marc Green Date: Tue, 24 Oct 2023 20:48:53 +0200 Subject: [PATCH 1/3] Update FAQ with workaround for Issue #251 --- website/docs/FAQ.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/docs/FAQ.md b/website/docs/FAQ.md index ccf214c13365..672a38fd609f 100644 --- a/website/docs/FAQ.md +++ b/website/docs/FAQ.md @@ -160,3 +160,13 @@ Otherwise, reply CONTINUE, or the reason why the task is not solved yet.""" ``` If you have problems with agents running `pip install` or get errors similar to `Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')`, you can choose **'python:3'** as image as shown in the code example above and that should solve the problem. + +## ChromaDB fails in codespaces because of old version of sqlite3 + +(from [issue #251](https://github.com/microsoft/autogen/issues/251)) + +Workaround: +1. `pip install pysqlite3-binary` +2. `mkdir ../../home/vscode/.local/lib/python3.10/site-packages/google/colab` + +Explanation: Per [this gist](https://gist.github.com/defulmere/8b9695e415a44271061cc8e272f3c300?permalink_comment_id=4711478#gistcomment-4711478), linked from the official [chromadb docs](https://docs.trychroma.com/troubleshooting#sqlite), adding this folder triggers chromadb to use pysqlite3 instead of the default. From d54312b983d3dcf23c9451cc56093d438dd08838 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sun, 29 Oct 2023 18:21:27 -0700 Subject: [PATCH 2/3] Update website/docs/FAQ.md --- website/docs/FAQ.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/FAQ.md b/website/docs/FAQ.md index 7471ceb91cc7..79c213ccf2c2 100644 --- a/website/docs/FAQ.md +++ b/website/docs/FAQ.md @@ -125,7 +125,7 @@ Please visit https://docs.trychroma.com/troubleshooting#sqlite to learn how to u Workaround: 1. `pip install pysqlite3-binary` -2. `mkdir ../../home/vscode/.local/lib/python3.10/site-packages/google/colab` +2. `mkdir /home/vscode/.local/lib/python3.10/site-packages/google/colab` Explanation: Per [this gist](https://gist.github.com/defulmere/8b9695e415a44271061cc8e272f3c300?permalink_comment_id=4711478#gistcomment-4711478), linked from the official [chromadb docs](https://docs.trychroma.com/troubleshooting#sqlite), adding this folder triggers chromadb to use pysqlite3 instead of the default. From a3b5a5ba4482798a674608bd343a97fdcf7a0b14 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sun, 29 Oct 2023 18:40:19 -0700 Subject: [PATCH 3/3] Update website/docs/FAQ.md --- website/docs/FAQ.md | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/FAQ.md b/website/docs/FAQ.md index 79c213ccf2c2..6c87cac03d86 100644 --- a/website/docs/FAQ.md +++ b/website/docs/FAQ.md @@ -128,4 +128,3 @@ Workaround: 2. `mkdir /home/vscode/.local/lib/python3.10/site-packages/google/colab` Explanation: Per [this gist](https://gist.github.com/defulmere/8b9695e415a44271061cc8e272f3c300?permalink_comment_id=4711478#gistcomment-4711478), linked from the official [chromadb docs](https://docs.trychroma.com/troubleshooting#sqlite), adding this folder triggers chromadb to use pysqlite3 instead of the default. -