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

**URL:** <https://community.auth0.com/t/modulenotfounderror-no-module-named-crypto-while-using-pi3-google-cloud-iot-building-jwt-auth-please-help-out/40223>\
**Category:** JWT.io\
**Tags:** gcp, jwt, iot\
**Created:** [March 31, 2020, 8:13am UTC](https://community.auth0.com/t/modulenotfounderror-no-module-named-crypto-while-using-pi3-google-cloud-iot-building-jwt-auth-please-help-out/40223 "2020-03-31T08:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pooranakumare](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pooranakumare/32/20176_2.png) [@pooranakumare](https://community.auth0.com/u/pooranakumare)\
**Post date:** [March 31, 2020, 8:13am UTC](https://community.auth0.com/t/modulenotfounderror-no-module-named-crypto-while-using-pi3-google-cloud-iot-building-jwt-auth-please-help-out/40223/1 "2020-03-31T08:13:27Z")

</div>

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 :[https://medium.com/google-cloud/cloud-iot-step-by-step-connecting-raspberry-pi-python-2f27a2893ab5#50cb](https://medium.com/google-cloud/cloud-iot-step-by-step-connecting-raspberry-pi-python-2f27a2893ab5#50cb)

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

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 31, 2020, 8:46am UTC](https://community.auth0.com/t/modulenotfounderror-no-module-named-crypto-while-using-pi3-google-cloud-iot-building-jwt-auth-please-help-out/40223/2 "2020-03-31T08:46:10Z")

</div>

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!
