Update install.sh

This commit is contained in:
SpudGunMan
2024-12-12 12:12:59 -08:00
parent dcad12935f
commit 2fe2009b97

View File

@@ -76,7 +76,11 @@ if [ $venv == "y" ]; then
sudo apt-get install python3-venv
fi
# double check for python3-venv
if ! python3 -m venv --help &> /dev/null; then
if [ -f venv/bin/activate ]; then
printf "\nFound virtual environment for python\n"
python3 -m venv venv
source venv/bin/activate
else
printf "\nPython3 venv module not found, please install python3-venv with your OS\n"
exit 1
fi