Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleOops!

Before you can go on, you need to install Python:

  • Download Python 2.7.x from https://www.python.org/(NOT Python 3!)
  • Add the following directories to your PATH environment variable:
    • C:\Python27
    • C:\Python27\Scripts
  • Verify you can call python:

    Code Block
    languagebash
    C:\Users\Thomas>python --version
    Python 2.7.5
  • Install the Python setuptools from https://pypi.python.org/pypi/setuptools#installation-instructions. Typically, this means downloading a file called ez_setup.py and double-clicking on it.
  • Verify that you can call the easy_install command:

    Code Block
    languagebash
    C:\Users\Thomas>easy_install --version
    setuptools 1.1.6
  • Install the pip utility:

    Code Block
    languagebash
    C:\Users\Thomas>>easy_install pip
  • Verify that you can call the pip command:

    Code Block
    languagebash
    C:\Users\Thomas>pip --version
    pip 1.4.1 from c:\python27\lib\site-packages\pip-1.4.1-py2.7.egg (python 2.7)
  • Install the OpenWSN Python dependencies (from the openwsn-sw\ directory on your Desktop):

    Code Block
    languagebash
    C:\Users\Thomas\Desktop\openwsn-sw> pip install -r requirements.pip
  • Install SCons the build environment:
     

    Code Block
    languagebash
    C:\Users\Thomas\Desktop\openwsn-sw> pip install scons