frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Slushengine & Python2.7 Support

Hello All,

Well we have finally built support for Python 2.7 into the SlushEngine libraries. Getting the additional support does not require anything special just a normal installation using the fun Perl script.

sudo wget https://raw.githubusercontent.com/Roboteurs/slushengine/master/install.pl -O - | perl

Details
The SlushEngine uses 2 different types of communication protocols, SPI & I2C. Both of these buses are managed by different libraries. In the past we have been using quick2wire. Quick2wire was limited to Python3 so it either had to go or had to change. In the end we decided to move to using a different tool called SMBus. This is a python library that is intended for management of SMBus devices (I2C)

If any bugs are found in the new release they can be reported here or preferably on git.

Manually Installing
If you want to manually install the support for Python 2 you will need to run the following.

sudo apt-get install python3 python3-setuptools python3-pip git python3-rpi.gpio python-setuptools python-pip python-rpi.gpio python-dev
sudo pip install spidev inputs smbus2
sudo pip install git+https://github.com/Roboteurs/slushengine

Comments

Sign In or Register to comment.

Roboteurs: Technical Forum

|
@ 2017 Roboteurs
Powered by VanillaForums, Designed by ThemeSteam

Contact us

info@roboteurs.com

Get In Touch