1 Answers
Hi Zachary
Sorry you’re having problems with this lab. First please make sure you’ve installed the necessary library in the Cloud Shell terminal with:
sudo pip3 install google-cloud-pubsub
When this video was recorded, the shell would default to Python 3, but I just tried it and for some reason that’s no longer the case. So you need to specify Python 3 when you run the script with:
python3 transactions.py
Hope this helps!
Thanks