I was able to import
brickpi3 module with
Python 2 and
Python 3 within a
Here’s what I’ve been doing:
~/Desktop where the user has
Created a virtual environment with the
virtualenv env --python=python3 command.
env environment with
Created another folder on the
env-test, where than I
cd-ed to it.
git clone https://github.com/DexterInd/BrickPi3.git - we need the user to have
rw access to it, otherwise,
pip freeze won’t show up our package.
Run the following commands in this order:
python setup.py clean - removes the old build (if there’s one)
python setup.py build - creates a new build
python setup.py install - installs the current build
spidev package with
pip install spidev.
python and try to import the
brickpi3 module - it’s going to work.
If there are any other questions, Kevin, please tell us here.