From b067f7e8ce54a9c14cec555ee5ce7acb83049678 Mon Sep 17 00:00:00 2001 From: Tobias Klein Date: Sat, 28 Oct 2023 13:09:30 +0200 Subject: [PATCH] Fix virtual env init --- docker/build_debian12_bookworm.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/build_debian12_bookworm.sh b/docker/build_debian12_bookworm.sh index 96c835e..0503ee1 100755 --- a/docker/build_debian12_bookworm.sh +++ b/docker/build_debian12_bookworm.sh @@ -7,8 +7,10 @@ curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv export PATH=$PATH:$HOME/.pyenv/bin pyenv install 3.10.0 pyenv global 3.10.0 -pyenv init - -pyenv virtualenv-init - + +eval "$(pyenv init -)" +eval "$(pyenv virtualenv-init -)" + pyenv exec python -m venv .venv pyenv activate venv