From 3795904150ece1c35c189223e44b3266a9845c7d Mon Sep 17 00:00:00 2001 From: AiutoPcAmico Date: Tue, 5 Dec 2023 21:51:38 +0100 Subject: [PATCH] Added venv for python3 --- setup/questions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/questions.sh b/setup/questions.sh index 3e6ffd3a..7866461c 100644 --- a/setup/questions.sh +++ b/setup/questions.sh @@ -12,6 +12,10 @@ if [ -z "${NONINTERACTIVE:-}" ]; then apt_get_quiet install dialog python3 python3-pip || exit 1 fi + echo "install vintual env for python3" + hide_output apt install python3-venv + hide_output python3 -m venv mailinabox + hide_output source mailinabox/bin/activate # Installing email_validator is repeated in setup/management.sh, but in setup/management.sh # we install it inside a virtualenv. In this script, we don't have the virtualenv yet