From f502db82f154f6f9bd7dac2216c20815ebee6898 Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 11 Jun 2024 10:06:19 +0200 Subject: [PATCH] fix(python): problem when using `pip` as a program --- .envrc | 2 +- .tool-versions | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index 1f20c18..a4f6788 100644 --- a/.envrc +++ b/.envrc @@ -25,7 +25,7 @@ if (($(echo $(direnv_layout_dir)/python* | wc --words) > 1)); then du -sh .direnv/* fi -if ! pip list | grep pynvim > /dev/null; then +if ! python3 -m pip list | grep pynvim > /dev/null; then log_error "python: Missing pynvim module" fi diff --git a/.tool-versions b/.tool-versions index fcd4196..ef8dfdd 100644 --- a/.tool-versions +++ b/.tool-versions @@ -2,4 +2,4 @@ direnv 2.34.0 # NOTE: Path to nodejs is hardcoded in init.lua nodejs 22.2.0 # TODO: Don't use version matching system -python 3.12.3 +python 3.12.4