ModuleNotFoundError: No module named 'Crypto' - while using pi3/google cloud IOT building jwt auth! Please help out..

, ,

Am getting “Listed 0 Items” in Gcloud while subscribe using this Command " gcloud pubsub subscriptions pull --auto-ack projects/my project/subscriptions/my_subscription

I tried to run program in GCloud to find the issue , it says "Traceback (most recent call last):

Traceback (most recent call last):

File “01_basics.py”, line 23, in

from jwt.contrib.algorithms.pycrypto import RSAAlgorithm

File “/usr/local/lib/python3.7/site-packages/jwt/contrib/algorithms/pycrypto.py”, line 1, in

import Crypto.Hash.SHA256

ModuleNotFoundError: No module named ‘Crypto’

I followed this tutorial :Cloud IoT step-by-step: Connecting Raspberry PI + Python | by Gabe Weiss | Google Cloud - Community | Medium

saying one section as "Library dependencies : which are to be installed in Raspberry pi right ? or in GCLoud too?

Hey there!

Unfortunately we won’t be able to help you as this tutorial you’re following is not written by Auth0. Maybe someone else from community will be able to help!