fix(python): problem when using pip as a program

This commit is contained in:
Michel 2024-06-11 10:06:19 +02:00
parent 4741fa2aee
commit f502db82f1
2 changed files with 2 additions and 2 deletions

2
.envrc
View File

@ -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

View File

@ -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