73

EE123: Digital Signal Processing

73

Spring, 2014

Python Installation Instruction

We will be using Python 2.7 in the course along with other important packages including matplotlib, numpy, scipy, pyaudio and pyrtlsdr. Anaconda from Continuum Analytics provides an easy way of installing them.

MAC OSX:

  • Download Anaconda installer: 10.7+, 10.5+

  • After downloading the installer double click the .pkg file and follow the instructions on the screen.

  • You will be given an option to add anaconda to path. If you did not add it you will need to run the folowing before using python:

>> export PATH=/Users/mlustig/anaconda/bin:${PATH}
  • Post install:

>> conda update conda
>> conda update ipython
>> conda update pip
>> pip install pyrtlsdr

Windows:

  • Download Anaconda installer:
    Windows 32-bit, Windows 64-bit

  • After downloading the installer, double click the .exe file and follow the instructions on the screen.

  • Choose the appropriate location and options but make sure you select the following options during the installation:

  • To test whether the installation is successful, open a new command line prompt and type the command “conda -h”. This should display a help menu from anaconda.


  • Post install - Run these in the commandline:

>> conda update conda
>> conda update ipython
>> conda update pip
>> pip install pyrtlsdr
  • To link the rtl-sdr library to Python, copy the .dll files in rtlsdr_win.zip to C:\Anaconda (or whatever location you chose to install Anaconda)

  • To install PyAudio, download the following package from MIT:
    PyAudio-2.7

  • Double click the .exe file and follow the instructions on the screen