Installing IPython

We have put together installers to install IPython and the other the required packages for the course. Please find your computer's operating system and follow the instructions below.

Note for existing Anaconda users:

Our installers are currently configured to clobber your existing Anaconda libraries. Please be aware of this and take necessary precautions.

Linux

Download the linux installer. Open a terminal and change directory to the folder where you have downloaded the installation script. Run the terminal command:

bash linux_installer.sh && source ~/.bashrc

This operation does not require admin privileges. After the script completes, restart the terminal. In the terminal, run the command

conda update pip -y

You can verify installation as described in validating installation.

OSX

Download the osx installer. Open a terminal and change directory to the folder where you have downloaded the installation script. Run the terminal command:

bash osx_installer.sh && source ~/.bash_profile

This operation does not require admin privileges. After the script completes, restart the terminal (be sure to fully quit the terminal, and not just hide the window). In the terminal, run the command

conda update pip -y

You can verify installation as described in validating installation.

What the Linux and OSX Installers do:

  1. Create a directory for all EE16A files in ~/ee16a
  2. Download and run the Anaconda installer
  3. Install additional packages using the conda package manager
  4. Install packages not available through conda using pip
  5. Run the validation script to verify that all packages were installed successfully.

NOTE: By default Anaconda is installed to the home directory of each user.

Windows

Download the windows installer. Right click on the file windows_installer.bat and run it with admin privilages. After the installer completes, open the command line by searching cmd on your PC. In the command line, run

conda update pip -y

You can verify installation as described in validating installation.

What the Windows installer does:

  1. Create a directory for all EE16A files in C:\EE16A
  2. Download the program unzip.exe to unzip files because batch files cannot independently unzip files.
  3. Download a zip file with Anaconda and the supporting scripts
  4. Unzip the installation files and delete the zip archive and the unzip utility.
  5. Run the Anaconda setup to install in the default directory C:\Anaconda
  6. Run a VB script to update environment variables because this also can't be done any other way in a batch file.
  7. Update packages using conda
  8. Install new packages using conda
  9. Use pip to install packages not available via conda
  10. Run the validation script to verify that all packages were installed successfully.

Validating Installation

Download and run the program check_version.py using Python 3 to verify that the proper versions of each of the packages below are installed:

  • Python- 3.4.3 64 bit (Anaconda)
  • Anaconda- 2.3.0
  • conda- 3.15.1
  • conda-env- 2.3.0
  • pip- 7.1.0
  • setuptools- 18.0.1
  • ipython- 3.2.1
  • ipython-notebook- 3.2.1
  • jinja2- 2.8
  • mistune- 0.7
  • tornado- 4.2.1
  • jsonschema- 2.4.0
  • pyqt- 4.10.4
  • matplotlib 1.4.3
  • numpy- 1.9.2
  • pyserial- 2.7
  • scipy- 0.16.0-np19
  • pyrtlsdr- 0.2.0