Configure SSH access to the RPi 3 (eg. via raspi-config)
SSH into the RPi 3
The Problem
When logging into the RPi 3 via SSH, the following header is displayed:
$ ssh pi@picroft
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jul 9 12:19:25 2018
Traceback (most recent call last):File "", line 1, in ImportError: No module named mycroft.version
Picroft enclosure platform version: 2018-03-14
Quick inspection of the auto_run.sh script points to line 12:
Stack:
Steps to Replicate
The Problem
When logging into the RPi 3 via SSH, the following header is displayed:
Quick inspection of the
auto_run.sh
script points to line 12:mycroft_core_ver=$(python -c "import mycroft.version; print 'mycroft-core: '+mycroft.version.CORE_VERSION_STR" | grep "core:")
Which is being run outside the mycroft virtual environment, so it can't see the mycroft Python packages.