Sunday, March 29, 2015

Fail to build matplotlib for Python3, run on Raspberry Pi 2

matplotlib is not support Python 3 on Raspberry Pi/Raspbian currently. I tried to build from source. Even success in build (with something error in middle steps), install, and import in IDLE 3. But fail (nothing plotted) in running.

Here is my steps to build matplotlib on Raspberry Pi 2/Raspbian:
$ sudo apt-get install python3-dev
$ git clone https://github.com/matplotlib/matplotlib
$ cd matplotlib
$ python3 setup.py build
$ sudo python3 setup.py install


BUT, fail to plot anything at run time! refer to the post "Display Raspberry Pi CPU temperature graphically, using Python 2 with Matplotlib".


No comments: