diff --git a/installpyenv.sh b/installpyenv.sh index 1f72c74..e9d8f21 100644 --- a/installpyenv.sh +++ b/installpyenv.sh @@ -10,7 +10,7 @@ source ~/.bashrc # Step 2. Install missing headers for all the Python modules to be built and make sure gcc is installed -sudo zypper install readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc +sudo zypper install -y readline-devel sqlite3-devel libbz2-devel zlib-devel libopenssl-devel libffi-devel gcc # Step 3. Install the desired Python version @@ -18,7 +18,7 @@ pyenv install 3.7.4 # Step 4. Install virtualenv -sudo zypper install --non-interactive python3-virtualenv +sudo zypper install -y python3-virtualenv # Step 5. Create a virtual environment for the installed Python and activate it