Skip to content

Commit

Permalink
Add note that libfreetype-dev is a pre-req
Browse files Browse the repository at this point in the history
For Pillow to be able to use truetype fonts, libfreetype-dev must be pre-installed.
  • Loading branch information
rm-hull committed Oct 27, 2016
1 parent deff115 commit 5578f69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ Then add your user to the i2c group::

Install some packages (python2)::

$ sudo apt-get install i2c-tools python-smbus python-pip
$ sudo apt-get install i2c-tools python-smbus python-pip libfreetype-dev
$ sudo pip install pillow

or (python3)::

$ sudo apt-get install i2c-tools python3-smbus python3-pip
$ sudo apt-get install i2c-tools python3-smbus python3-pip libfreetype-dev
$ sudo pip3 install pillow

Next check that the device is communicating properly (if using a rev.1 board,
Expand Down

0 comments on commit 5578f69

Please sign in to comment.