Checking For Python 3

To check to see if you already have Python 3 installed on your computer, open a command window and type:

python -V


python3 -V

Here are the results from a Windows computer:

The results from a Linux or Mac computer should look very similar.

If you have Python3 already installed, skip down to Installing ZeroMQ.

Installing Python 3

If you need to install Python3 on your computer, I recommend using the latest version as of this writing, version 3.6. If you have an earlier version already installed, upgrading to Python 3.6 is not necessary.

    Windows Users

To install Python 3.6 or later, go to the Python home page, and download the 3.6.0 (or later) distribution 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.6 to your path, make sure it is checked before proceeding with the installation.

    Linux/Mac Users

If you are using linux, here are the build and installation instructions

  1. sudo apt-get update
  2. sudo apt-get upgrade
  3. sudo apt-get dist-upgrade
  4. sudo apt-get install build-essential python-dev python-setuptools python-pip python-smbus
  5. sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev
  6. sudo apt-get install zlib1g-dev libsqlite3-dev tk-dev
  7. sudo apt-get install libssl-dev openssl
  8. cd ~
  9. mkdir build
  10. cd build
  11. wget
  12. tar -zxvf Python-3.6.0.tgz
  13. cd Python-3.6.0
  14. ./configure
  15. make
  16. sudo make install

    Verify The Python Installation

Click this link for instructions