Skip to content

πŸ™Œ OpenHands: AI-Driven Development

build: Add poetry command to use Python 3.11 for environment setup (#1972)

DaxServerb118df606f0d
diff --git a/Makefile b/Makefile
index 9df4356f05..49ad4af557 100644
--- a/Makefile
+++ b/Makefile
@@ -130,8 +130,9 @@ pull-docker-image:
install-python-dependencies:
@echo "$(GREEN)Installing Python dependencies...$(RESET)"
+ poetry env use python3.11
@if [ "$(shell uname)" = "Darwin" ]; then \
- echo "$(BLUE)Installing `chroma-hnswlib`...$(RESET)"; \
+ echo "$(BLUE)Installing chroma-hnswlib...$(RESET)"; \
export HNSWLIB_NO_NATIVE=1; \
poetry run pip install chroma-hnswlib; \
fi