From 6d7c86dfdb408514fd31cad244f15ab08182ee7c Mon Sep 17 00:00:00 2001 From: b068931cc450442b63f5b3d276ea4297 <77171083+b068931cc450442b63f5b3d276ea4297@users.noreply.github.com> Date: Wed, 10 Jan 2024 18:40:16 +0100 Subject: [PATCH] echo for venv --- install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 682789a..71a146f 100644 --- a/install.sh +++ b/install.sh @@ -184,8 +184,11 @@ check_dependencies() { install_package ${bin##*/} fi done + echo -e "\e[39m[+] Create and activate Virtual Environment for Python packages\e[39m" + python3 -m venv /usr/share/spyguard/spyguard-venv + source /usr/share/spyguard/spyguard-venv/bin/activate echo -e "\e[39m[+] Install Python packages...\e[39m" - python3 -m venv /usr/share/spyguard/spyguard-venv && source /usr/share/spyguard/spyguard-venv/bin/activate && python3 -m pip install -r "$SCRIPT_PATH/assets/requirements.txt" + python3 -m pip install -r "$SCRIPT_PATH/assets/requirements.txt" } get_version() {