mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
build: Add poetry command to use Python 3.11 for environment setup (#1972)
This commit is contained in:
3
Makefile
3
Makefile
@@ -130,8 +130,9 @@ pull-docker-image:
|
|||||||
|
|
||||||
install-python-dependencies:
|
install-python-dependencies:
|
||||||
@echo "$(GREEN)Installing Python dependencies...$(RESET)"
|
@echo "$(GREEN)Installing Python dependencies...$(RESET)"
|
||||||
|
poetry env use python3.11
|
||||||
@if [ "$(shell uname)" = "Darwin" ]; then \
|
@if [ "$(shell uname)" = "Darwin" ]; then \
|
||||||
echo "$(BLUE)Installing `chroma-hnswlib`...$(RESET)"; \
|
echo "$(BLUE)Installing chroma-hnswlib...$(RESET)"; \
|
||||||
export HNSWLIB_NO_NATIVE=1; \
|
export HNSWLIB_NO_NATIVE=1; \
|
||||||
poetry run pip install chroma-hnswlib; \
|
poetry run pip install chroma-hnswlib; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user