Update install.sh

This commit is contained in:
SpudGunMan
2024-12-12 10:47:53 -08:00
parent eb87cf1bc8
commit 5cd7dca9b0

View File

@@ -72,8 +72,12 @@ if [ $venv == "y" ]; then
if [ -f venv/bin/activate ]; then
printf "\nFound virtual environment for python\n"
else
printf "\nVirtual environment not found, trying `sudo apt-get install python3-venv`\n"
sudo apt-get install python3-venv
printf "\nPython3 venv module not found, please install python3-venv with your OS if not already done. re-run the script\n"
fi
# double check for python3-venv
if ! python3 -m venv --help &> /dev/null; then
printf "Python3 venv module not found, please install python3-venv with your OS\n"
exit 1
fi