Skip to content

Commit

Permalink
Merge pull request #41 from psytester/patch-1
Browse files Browse the repository at this point in the history
pip3 installation preferred as apt is not longer supported
  • Loading branch information
tompreston authored Dec 23, 2020
2 parents d231a82 + 577edd8 commit a4d2413
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ Make sure you are using the lastest version of Raspbian:
$ sudo apt-get update
$ sudo apt-get upgrade

Install `pifacedigitalio` (for Python 3 and 2) with the following command:
Install `pifacedigitalio` with the following command:

$ sudo apt-get install python{,3}-pifacedigitalio
Python 3:
$ sudo pip3 install pifacedigitalio

Notice 1: Installation from Raspbian repository with apt is not longer the preferred way, take a look into [https://github.com/piface/pifacecommon/issues/27#issuecomment-451400154](issue 27)

Notice 2: Python 2 support is "end-of-life" since Jan 2020, refer to https://www.python.org/doc/sunset-python-2/

Test by running the `blink.py` program:

Expand Down
9 changes: 7 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ Make sure you are using the lastest version of Raspbian::
$ sudo apt-get update
$ sudo apt-get upgrade

Install ``pifacedigitalio`` (for Python 3 and 2) with the following command::
Install ``pifacedigitalio`` with the following command:

$ sudo apt-get install python{,3}-pifacedigitalio
Python 3:
$ sudo pip3 install pifacedigitalio

Notice 1: Installation from Raspbian repository with apt is not longer the preferred way, take a look into `pifacecommon issue #27 <https://github.com/piface/pifacecommon/issues/27#issuecomment-451400154/>`_

Notice 2: Python 2 support is "end-of-life" since Jan 2020, refer to https://www.python.org/doc/sunset-python-2/

Test by running the ``blink.py`` program::

Expand Down

0 comments on commit a4d2413

Please sign in to comment.