Install On Windows

Install Miniconda Python 3.6

  1. To get started you need to download the correct version of the Windows miniconda installer for your operating system.

    1. If your computer has a 64-bit operating system (most likely) use the link https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe If your system has a 32-bit operating system (unlikely) use the link https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86.exe These resources can also be found on the resources page of our class Piazza site. If you are unsure of which system you are running, see Detecting 64-bits versus 32-bits Windows Systems.
    2. Wait for it to download. It will place a file called Miniconda3-latest-Windows-x86_64.exe (64-bit) or Miniconda3-latest-Windows-x86.exe (32-bit) in your downloads folder. On my computer using Chrome this is in c:\Users\Wesley\Downloads
  2. Click on the downloaded file to start the installation. When the installer window appears,

    1. Click Next to get started,
    2. Click I Agree to accept the license terms, and
    3. Then click Next to accept the defaults for the next several screens.
    4. When you reach the screen with the Install button, verify the the two Advanced Options checkboxes to Add Anaconda to my PATH environment variable and to Register Anaconda as my default Python 3.5 are both checked. Then click Install.
    5. When the install finishes, click Next then Finish. You can ignore the Anaconda Cloud window that pops up in your browser.
  3. Open a Command Prompt window. There are several ways to do this, but the easiest way is probably to right click on the windows prompt and select Command Prompt from the pop-up that appears.

    1. In the Command Prompt window, enter:

      conda install pillow
      

      If the conda command is not recognized, it is because the changes to your PATH variable have not propagated correctly. Simply restart your system and try again from opening the Command Prompt window.

    2. Enter y at the Proceed prompt.

    3. When the installation completes, close the Command Prompt window.

Congratulations, at this point you have fully installed Python and even added an addition module named Pillow that we will use in the next few weeks!

Install Wing IDE and Connect It to Miniconda Python

The second half of the installation is the Wing IDE development environment. This is the software that you use to write, edit and test your Python programs. Wing IDE calls Python to actually run the program. Therefore, we have to download and install Wing IDE and then tie it to the Miniconda version of Python.

  1. Go to http://wingware.com/downloads/wingide-101
  2. Click on the Windows Installer 32-bit and 64-bit. This will download the file wingide-101-6.0.6-1.exe to your download directory. Click on it to install and follow the instructions. As with miniconda, you may need to answer of few questions and accept the license agreement. You should use the defaults settings.
  3. Once the installation completes, open the Wing IDE application. We’ll explore this application in lecture and in lab, but for now we just need to tell Wing about Miniconda Python. To do this, click on the menu and then Edit -> Configure Python
  4. For the Python Executable click on Custom and then Browse to the location for the Miniconda Python executable. On my PC this is c:\Users\Wesley\miniconda3\python . See the following
../_images/link-ide-to-python3-windows.png
  1. Ignore the Python Path and all other settings and click OK.
  2. Back in the main Wing IDE it may ask you to restart the python shell. Once you do then you should see at the top of the Python Shell window pane something about “3.5.2 |Continuum Analytics, Inc.” etc. If you have this you are all set and the installation is complete!

Detecting 64-bits versus 32-bits Windows Systems

To determine if you are running 64- or 32-bit Windows, simply click on the Start key and then select Settings. It will bring up your Computer Settings App. From here

  1. Select System
  2. Select About

This will bring up a system description screen such as below. Your operating system type is shown in the line labeled System type. As shown, my computer is running a 64-bit operating system.

../_images/detect-64-or-32-bits-OS.png