We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f1bf9 commit ac4d614Copy full SHA for ac4d614
scripts/install-dependencies.sh
@@ -27,3 +27,12 @@ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
27
echo 'export PYENV_ROOT="${HOME}/.pyenv"' >> ~/.bashrc
28
echo 'export PATH="${PYENV_ROOT}/bin:${PATH}"' >> ~/.bashrc
29
git clone https://github.com/pyenv/pyenv-virtualenv.git ${HOME}/.pyenv/plugins/pyenv-virtualenv
30
+
31
+echo "Installing Pyenv's dependencies"
32
+if [[ ! -z $(which yum) ]]; then
33
+ sudo yum install -y patch
34
+elif [[ ! -z $(which apt-get) ]]; then
35
+ sudo apt-get install -y patch
36
+else
37
+ echo "Operating system not supported, please install the dependencies manually"
38
+fi
0 commit comments