


Map(declare_namespace, self._get_metadata(‘namespace_packages.txt’))įile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 1827, in declare_namespaceįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 1797, in _handle_ns
#How to install matplotlib on raspberry pi zero how to
ImportError: No module named pygments.lexerĪny ideas on what I am actually missing or how to start debugging?I get similar errors when I try from easy_install or pip or trying to install from git versionįrom pkg_resources import load_entry_pointįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2727, inĪdd_activation_listener(lambda dist: dist.activate())įile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 700, in subscribeįile “/usr/lib/python2.7/dist-packages/pkg_resources.py”, line 2230, in activate Before we install anything, though, let’s update the package lists… Installing WiringPi2 for Python is very simple, but there are a couple of required packages, so we’ll install those first. I think Gordon’s working on that for V3 :p Installing WiringPi2 for Python

:) You’ve still got to hook up your own wires though. This makes handling expanded ports as easy as…Īll the low level heavy lifting is done for us. For simple GPIO work, I use RPi.GPIO because that’s what I first got started with.īut, aside from hardware PWM, one thing I love about WiringPi2 is that it also has some extra built-in drivers for various chips – e.g. WiringPi2 for Python is an excellent GPIO handling system written by Gordon ‘Drogon’ Henderson and packaged for Python by Phil ‘Gadgetoid’ Howard. WiringPi2 for Python – installation instructions for Raspbian What is WiringPi2 and why do I need it?
