Search This Blog

Monday, November 24, 2014

Raspberry Pi



Notes on setting up Python on a Raspberry Pi remotely from a Mac


install Raspberry PI OS - Debian Wheezy  http://www.raspberrypi.org/downloads/


Connect from Mac to the Pi
Mac> ssh pi@192.168.0.3   (Pi IP address)

Install PIP on the Pi
Pi> sudo apt-get install python-setuptools
Pi> sudo easy_install pip

Add Python Packages using PIP
Pi> sudo pip install tweepy
Pi> sudo pip install shapely
etc

Transfer Files between Mac and Pi (using Finder on Mac)
Pi> sudo apt-get update
Pi> sudo apt-get install netatalk

Mac>open afp://192.168.0.3   (IP address of the PI)

Set up Remote Desktop 
Pi> sudo apt-get install xrdp  
                  (add protocol for RDP one time set up on the Pi)

Mac> use Microsoft Remote Desktop client to connect to Pi
(download the App from App Store - search for 'Remote Desktop')

No comments: