CraftMarine
Posts: 2
Joined: Fri Sep 29, 2017 9:05 pm

[Help] Can't install PiFace Digital software

Fri Sep 29, 2017 9:16 pm

Hi ! I just got my Piface 2 for my raspberry 3.

I've managed myself to find the documentation and install everything correctly.
So, my RB run with the latest version of Rasbian.

My probleme is I can't instal the Piface digital software.
I found on the documentation the commande you need to install it.
"To install the PiFace™ Digital 2 software, open a terminal and run the following command:
sudo apt-get install python3-pifacedigitalio"

But after that, I've got this message:
E: Unable to locate package python3-pifacedigitalio

I've done the following command too:
sudo apt-get install
sudo apt-get upgrade

How can I install this software ?

CraftMarine.

pcmanbob
Posts: 1747
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: [Help] Can't install PiFace Digital software

Sat Sep 30, 2017 6:26 pm

Hi.

A quick check using

Code: Select all

 sudo apt-cache search pifacedigitalio
on a pi running raspbian stretch does not find any packages.

but running the same on a pi running raspbian Jessie

results in
python-pifacedigitalio - The PiFace Digital I/O module.
python3-pifacedigitalio - The PiFace Digital I/O module.

So I would say the packages are not in the stretch repository, a quick search on the web suggests the package is now called pifacecommon but that package is also not in the stretch repositories.

The original package is available from here https://pypi.python.org/pypi/pifacedigitalio/

you install it manually like this

Code: Select all

wget https://pypi.python.org/packages/06/33/38ff94cd74442da0f2d18241b88ebd3c8a89489ddb1d880d72a67306569c/pifacedigitalio-3.0.5.tar.gz

tar xvzf pifacedigitalio-3.0.5.tar.gz

cd pifacedigitalio-3.0.5/

for python2
sudo python setup.py install

for python3
sudo python3 setup.py install

or the new package is available for here https://pypi.python.org/pypi/pifacecommon/4.0.0

you install it manually like this

Code: Select all

wget https://pypi.python.org/packages/6d/23/ecfca34aeabb6bb720c96cb5ed0c9c768b012d13174cee25c67aa5dc8c8a/pifacecommon-4.0.0.tar.gz

tar xvzf pifacecommon-4.0.0.tar.gz

cd pifacecommon-4.0.0

for python2
sudo python setup.py install

for python3
sudo python3 setup.py install
I have run both sets of instructions on a pi running stretch and the packages do install but I don't have a piface so I don't have anyway to test if they actually work.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help

DirkS
Posts: 7529
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: [Help] Can't install PiFace Digital software

Sun Oct 01, 2017 3:47 pm

pcmanbob wrote:
Sat Sep 30, 2017 6:26 pm
you install it manually like this
Why not use pip / pip3 to install them?

pcmanbob
Posts: 1747
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: [Help] Can't install PiFace Digital software

Sun Oct 01, 2017 6:36 pm

Only because I have never used pip, always just done it the way shown, because that was the way I was shown.
Please only ask questions in the forum I will not answer questions sent to me directly via PM
Remember we want information.......................no information no help

DirkS
Posts: 7529
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: [Help] Can't install PiFace Digital software

Sun Oct 01, 2017 7:02 pm

pcmanbob wrote:
Sun Oct 01, 2017 6:36 pm
Only because I have never used pip, always just done it the way shown, because that was the way I was shown.

Code: Select all

sudo pip install pifacecommon
sudo pip install pifacedigitalio
should install the latest versions (use pip3 for python 3)

CraftMarine
Posts: 2
Joined: Fri Sep 29, 2017 9:05 pm

Re: [Help] Can't install PiFace Digital software

Mon Oct 02, 2017 4:28 pm

I've tryed first, with pip (way faster) and it worked :) even with pip3

thanks pcmanbob and Dirks for your help :)

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 18 guests