This commit is contained in:
Andrey 2021-11-26 09:50:44 -05:00
parent 520bed03c9
commit 7f6ad484cc
1 changed files with 15 additions and 0 deletions

View File

@ -80,6 +80,21 @@ function install_package {
sudo apt-get install $1
fi
}
### The Installation only for Linux environment ####
if [[ "${machine}" = "linux" ]]; then
sudo apt-get install python-dev
sudo apt-get install build-essential
sudo apt install python-pip
sudo apt install curl
sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo pip2 --version
sudo pip install pcb-tools
sudo apt install -y nodejs npm
sudo node -v
sudo npm -v
fi
######################
echo "Checking the Python version..."
# check python version - should be 2.x ONLY