Skip to content

Installation

Adam Haile edited this page Jun 28, 2017 · 19 revisions

For an AllPixel specific quick start guide with examples, check out the AllPixel Wiki

Requirements

BiblioPixel v3 requires Python 3.4 or higher. Python 2 is deprecated and we urge you to move away from it - if your application requires Python 2, then there's an unsupported legacy BiblioPixel 2 that works with Python 2.7.

It is recommended (but not necessary) to use virtualenv to isolate your installation of BiblioPixel. If you do not use virtualenv and are running on either Linux or MacOS, then in the instructions below, you need to use sudo pip instead of pip.

Installation

The easiest way to acquire BiblioPixel is using pip. If you don't already have pip the easiest way is to download and run get-pip.py. Then install BiblioPixel as follows:

pip install BiblioPixel

If you are not using a virtual environment your system default python is likely v2.7. If so, you will need to install using pip3 install BiblioPixel or python3 -m pip install BiblioPixel.

This will automatically install the entire package and make it available to import from anywhere in python 3. Required dependencies will also be installed automatically with the exception of a few optional packages specific to sub-modules that you may never need. If you try to run part of BiblioPixel that requires another dependency, it will print instructions for obtaining that package to the console.

You may now either use the code directly or use the bibliopixel CLI.

Clone this wiki locally