Closed johngo7470 closed 4 years ago
Hi @johngo7470
Looks like the python package 'python3-apt' is missing on your Pi. Please try installing it using the following commands:
sudo apt-get -y update && sudo apt-get -y upgrade
sudo apt-get install -y python3-apt
Thanks.
Ah... I rec'd python-apt already installed - didn't realize I needed to ask for python3-apt.
I wish someone would wave a magic wand and re-unify python...
pi@raspi:~/Alexa-Gadgets-Raspberry-Pi-Samples-master $ sudo python3 launch.py -- setup
Traceback (most recent call last): File "launch.py", line 9, in
import apt
ImportError: No module named 'apt'
pi@raspi:/ $ find . -name apt 2>/dev/null ./etc/apt ./etc/logrotate.d/apt ./usr/bin/apt ./usr/lib/dpkg/methods/apt ./usr/lib/python2.7/dist-packages/apt ./usr/lib/apt ./usr/lib/apt/planners/apt ./usr/lib/apt/solvers/apt ./usr/share/lintian/overrides/apt ./usr/share/doc/apt ./usr/share/bash-completion/completions/apt ./usr/share/bug/apt ./var/lib/apt ./var/log/apt ./var/cache/apt pi@raspi:/ $
Is something missing from my shell environment? my python3 environment?