Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 2.28 KB

notes.md

File metadata and controls

54 lines (41 loc) · 2.28 KB

sw

have python 3.2 by default, upgrading isn't super easy needed py3.3 for something, don't remember what (for flask! even though we don't need it anymore...)

todo:

problems:

journal:

http://raspberrypi.stackexchange.com/questions/26118/python-in-the-latest-raspbian-wheezy

future install: (solves py3.4, libzmq3)

http://procrastinative.ninja/2014/07/20/install-python34-on-raspberry-pi/

  • sudo apt-get install libbz2-1.0 libbz2-dev libffi5 libffi-dev libncursesw5 libncursesw5-dev libreadline6 libreadline6-dev liblzma5 liblzma-dev libsqlite3-0 libsqlite3-dev libexpat1 libexpat1-dev libssl-dev openssl

  • python3.4 from source

  • pip3 install pyzmq (installs libzmq3 if not present)

  • pip install "ipython[notebook]"

  • python3-zmq and libzmq1 were left over from previous installs when doing this last time. if you get errors with above, try installing them

  • (dont think we need this) - apt-get install ipython3 ipython3-notebook (for some reason this install libzmq1, prolly cuz dependencies are handled by apt-get and it doesnt know any better)

  • make sure ipython is using latest python version

  • copy Adafruit stuff (rename - to _, add __init__.py) to /usr/local/lib/python3.4/site-packages/ https://pypi.python.org/pypi/smbus-cffi/0.4.1

  • sudo apt-get install build-essential libi2c-dev i2c-tools python-dev

  • sudo pip3 install cffi

  • sudo pip3 install smbus-cffi

  • sudo pip3 install flask

hw

  • switch i2c to 3v3 (white wire for existing?)
  • doesnt matter if layout changes, we arent gonna get stencils before I leave anyways
  • order stencils
  • order correct headers from adafruit
  • solder stuff!