With the command brew install python I got the latest version of Python 3 (currently v3.7.0), but I want the last version of Python 3.6 (currently 3.6.5). I have read about another package pyenv that can assist in handle different python installation, but this solution is not suitable for me. Release Date: Feb. This is the second maintenance release of Python 3.8. Note: The release you're looking at is Python 3.8.2, a bugfix release for the legacy 3.8 series. Python 3.9 is now the latest feature release series of Python 3. Get the latest release of 3.9.x here. Major new features of the 3.8 series, compared to 3.7.
Prerequisites
IMPORTANT: Make sure you've completed the Code Fellows Basic Computer Setup Guide
Update Terminal/Environment
Make a back up of existing ‘.profile'
Homebrew Python 3.8
Create new ~/.profile
and add text below
Install Zsh
Note: this section has OS specific steps
WSL/Linux
Mac
Oh My Zsh
Once Zsh has been installed let's give it super powers by adding oh-my-zsh
Free download of google chrome for windows 7 32 bit. Say yes
if asked if you want to make zsh the default shell.
Last thing to do is to add instructions to load your profile.
Enter the text below in terminal.
Oh My Zsh is a very handy and powerful tool. Checkout the Cheat Sheet if you're interested
Install Python Tools
- Mac
xcode-select --install
brew install openssl readline sqlite3 xz zlib
- WSL/Linux
brew install bzip2 libffi libxml2 libxmlsec1 openssl readline sqlite xz zlib
brew install pyenv
pyenv install 3.8.5
- This command downloads and builds Python interpreter
- In case of failure
- WSL/Linux: Refer to Pyenv Common Problems and run the
apt-get
command at top of page under the Ubuntu/Debian section. - Mac: Make sure the Mac specific steps above were followed.
- WSL/Linux: Refer to Pyenv Common Problems and run the
pyenv global 3.8.5
python --version
- If error then restart terminal
brew install poetry
poetry config virtualenvs.in-project true
- If error then restart terminal
poetry new python-fun
cd python-fun
poetry shell
poetry install
pytest
nvm --version
Brew Install Python3 Pip
If no commands failed then you're all done.
Prerequisites
IMPORTANT: Make sure you've completed the Code Fellows Basic Computer Setup Guide
Homebrew Python 3.8
Create new ~/.profile
and add text below
Install Zsh
Note: this section has OS specific steps
WSL/Linux
Mac
Oh My Zsh
Once Zsh has been installed let's give it super powers by adding oh-my-zsh
Free download of google chrome for windows 7 32 bit. Say yes
if asked if you want to make zsh the default shell.
Last thing to do is to add instructions to load your profile.
Enter the text below in terminal.
Oh My Zsh is a very handy and powerful tool. Checkout the Cheat Sheet if you're interested
Install Python Tools
- Mac
xcode-select --install
brew install openssl readline sqlite3 xz zlib
- WSL/Linux
brew install bzip2 libffi libxml2 libxmlsec1 openssl readline sqlite xz zlib
brew install pyenv
pyenv install 3.8.5
- This command downloads and builds Python interpreter
- In case of failure
- WSL/Linux: Refer to Pyenv Common Problems and run the
apt-get
command at top of page under the Ubuntu/Debian section. - Mac: Make sure the Mac specific steps above were followed.
- WSL/Linux: Refer to Pyenv Common Problems and run the
pyenv global 3.8.5
python --version
- If error then restart terminal
brew install poetry
poetry config virtualenvs.in-project true
- If error then restart terminal
poetry new python-fun
cd python-fun
poetry shell
poetry install
pytest
nvm --version
Brew Install Python3 Pip
If no commands failed then you're all done.
Prerequisites
IMPORTANT: Make sure you've completed the Code Fellows Basic Computer Setup Guide
Update Terminal/Environment
Make a back up of existing ‘.profile'
Create new ~/.profile
and add text below
Install Zsh
Note: this section has OS specific steps
WSL/Linux
Mac
Oh My Zsh
Once Zsh has been installed let's give it super powers by adding oh-my-zsh
Say yes
if asked if you want to make zsh the default shell.
Last thing to do is to add instructions to load your profile.
Enter the text below in terminal.
Oh My Zsh is a very handy and powerful tool. Checkout the Cheat Sheet if you're interested
Brew Install Python 3.8
Install Python Tools
- Mac
xcode-select --install
brew install openssl readline sqlite3 xz zlib
- WSL/Linux
brew install bzip2 libffi libxml2 libxmlsec1 openssl readline sqlite xz zlib
brew install pyenv
pyenv install 3.8.5
- This command downloads and builds Python interpreter
- In case of failure
- WSL/Linux: Refer to Pyenv Common Problems and run the
apt-get
command at top of page under the Ubuntu/Debian section. - Mac: Make sure the Mac specific steps above were followed.
- WSL/Linux: Refer to Pyenv Common Problems and run the
pyenv global 3.8.5
python --version
- If error then restart terminal
brew install poetry
poetry config virtualenvs.in-project true
- If error then restart terminal
poetry new python-fun
cd python-fun
poetry shell
poetry install
pytest
nvm --version
Homebrew Install Python 3.8
If no commands failed then you're all done.