Closed noorjabermd closed 9 months ago
Hi Noor, I've updated (but not yet published) the typo you've identified.
For the Python modules what I have found seems to be required is the following:
sudo python3 -m pip install awsiotsdk boto3
I suggest removing the Python libraries previously installed before running the above.
Thanks @gemmerton, that seemed to work. I had to add awscli due to a boto3 version conflict. Uninstall: sudo python3 -m pip uninstall awsiotsdk boto3 awscli Reinstall: sudo python3 -m pip install awsiotsdk boto3 awscli Deployed successfully afterwards.
Step 9.3.1 typo In the tutorial, the "exec_path" line of start-webrtc.py reads: "/homels/pi....". Removed ls -> /home/pi... This file is imported into Cloud9 in the beginning of the tutorial and does not contain the typo. Consider adjusting the tutorial to only change line 8 with CRED_EP variable instead.
Step 9.4 Component module import error I was not able to deploy the move and proximity components. In the /greengrass/v2/logs, I keep getting ModuleNotFoundError: No module named 'awsiot' for move and 'boto3' for proximity on line "import awsiot.greengrasscoreipc". I've made sure they (as well as awsiotsdk) are installed as user and that /home/pi/.local/bin was in PATH. I then installed the modules globally and added /home/pi/.local/bin as well as other potentially pertinent paths to PATH for all users and still couldn't deploy successfully. I recreated the component and added a "RequiresPrivilege": true, lifecycle hook, but that didn't deploy either. Input would be appreciated.
The KVS component deployed successfully and I was able to view the stream on AWS Kinesis dashboard on 32-bit Bullseye. In case you run this on 64-bit Bookworm, I had issues with gstreamer and followed the instructions here to get streaming to show up.
Thanks, Noor