Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Installation

Alan Yorinks edited this page Apr 12, 2018 · 8 revisions

Installing with pip

The pip installation utility is included with Python 3.5.

To install:

Open a command window and type:

pip install pymata-aio

or

sudo pip install pymata-aio

This will install the pymata_aio API files and their required external libraries.

Note, for Mac users, if you have multiple versions of python on your system (for example 2.7.5 and 3.4.3) you might try the command [sudo] pip3.5 install pymata-aio to make sure pymata-aio is installed for the correct Python version.

Installing From A Github Download

If you download the zip file using the download zip button on https://github.com/MrYsLab/pymata-aio:

  1. Install both the pySerial library and websockets library.
  2. Using your favorite extraction tool, extract the pymata_aio files from the downloaded zip file to a convenient directory.
  3. Open a command window and go to the directory and verify that the file setup.py is present.Using Python3 type:

python setup.py install

or

sudo python3 setup.py install