install python 3.6 mac code example
Example 1: mac os install python 3
brew install python3
Example 2: mac install python 3.8
brew install python@3.8
Example 3: install python in mac
brew install python3
brew install python2
Example 4: install python 3.6
conda create -n myenv python=3.6
Example 5: command to install python3.6 on mac os
$ brew switch python 3.6.5_1
Example 6: install python3
echo This is for linux. (debian/unbuntu)
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget
curl -O https:
tar -xf Python-3.7.4.tar.xz
cd Python-3.7.4
./configure
make
sudo make altinstall
python3.7
cd ../