Skip to content

Commit e34efa0

Browse files
committed
python -m pip
1 parent 9d189b6 commit e34efa0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ help: ## Display this help message
4848
install-poetry: ## Ensure Poetry is installed at the specified version
4949
@if ! command -v poetry &> /dev/null; then \
5050
echo "Poetry not found. Installing..."; \
51-
pip install --user poetry==$(POETRY_VERSION); \
51+
python -m pip install --user poetry==$(POETRY_VERSION); \
5252
else \
53-
INSTALLED_VERSION=$$(pip show poetry | grep Version | awk '{print $$2}'); \
53+
INSTALLED_VERSION=$$(python -m pip show poetry | grep Version | awk '{print $$2}'); \
5454
if [ "$$INSTALLED_VERSION" != "$(POETRY_VERSION)" ]; then \
5555
echo "Updating Poetry to version $(POETRY_VERSION)..."; \
56-
pip install --user --upgrade poetry==$(POETRY_VERSION); \
56+
python -m pip install --user --upgrade poetry==$(POETRY_VERSION); \
5757
else \
5858
echo "Poetry version $(POETRY_VERSION) already installed."; \
5959
fi; \

0 commit comments

Comments
 (0)