-
Notifications
You must be signed in to change notification settings - Fork 51
Installing Python 3
To install Python 3 go to the Python home page, and download the latest version of Python 3 for your operating system.
If you have Python 2.7 installed, you do not need to remove it.
During the installation process, if there is a checkbox to add Python 3.X to your path, make sure it is checked before proceeding with the installation.
Linux Users:
To verify that you currently have the correct version of Python 3 installed for your operating system, open a terminal window and type:
python3 -V
This will return the version of Python 3 installed on your system.
For Linux, if you need to install Python 3, here are the build and installation instructions
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get dist-upgrade
- sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
- sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev
- sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
- sudo apt-get install libssl-dev openssl
- cd ~
- mkdir build
- cd build
- wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz (adjust for the latest version of Python 3)
- tar -zxvf Python-3.6.5.tgz
- cd Python-3.6.5
- ./configure
- make
- sudo make install
Windows Users: You must have Python 3.7 or greater installed. After installation, open a command window and type: python -V. You should see Python 3.8.2 or something similar.
Linux Users: After installation, open a command window and type: python3 -V. You should see Python 3.5.2 or something similar.
Copyright (C) 2015-2020, Alan Yorinks, All rights reserved.