Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'pifacecommon' #34

Open
klint-k opened this issue Aug 24, 2017 · 2 comments
Open

ImportError: No module named 'pifacecommon' #34

klint-k opened this issue Aug 24, 2017 · 2 comments

Comments

@klint-k
Copy link

klint-k commented Aug 24, 2017

Just started a new install of Stretch. I could not load through apt-get tried pip3. Pip3 said it was ok.
This is the error that I got

Traceback (most recent call last):
File "facke_bubble1.py", line 3, in
import pifacedigitalio
File "/usr/local/lib/python3.5/dist-packages/pifacedigitalio/init.py", line 18, in
from pifacecommon.interrupts import (
ImportError: No module named 'pifacecommon'

@WMRG1057
Copy link

I have been having the same problems
documentation is horrible
I have been able to get it loaded under 2.7 using pip ( will try pip3 for the 3(.5) version.)
what you are missing might be pip3 install pifacecommon

that seem to make it run under 2.7

Have not been able to find the emulator/tester or scratch files.

@WMRG1057
Copy link

After much head banging I was able to get it to load and run under both 2.7 & 3(.5), by uding the correct pip version so what you need to do is run
pip[3} install pifacedigitalio
pip[3] install pifacecommon
that seem to make it work

not sure if you need to put sudo infront but it seems to work with out it under the pi user
if you find the emulator and or the scratch mod let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants