mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
Update install.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user