Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I working in a project that sends data from a Raspberry PI 3B to firebase, but for now I want to try a simple code

I working in a project that sends data from a Raspberry PI 3B to firebase, but for now I want to try a simple code that sends data from a user using python and pycharm but some reason I getting this error can someone explain step by step how to fix it? The first part is just a simple code and the bottom one is the output which shows the module error

image text in transcribed

See all photos + Add to Q @ .. e Firebase Test.py X from firebase import firebase url = "https://motion-sensor-data-989b8.firebaseio.com/ firebase = firebase.FirebaseApplication(url), result = firebase.put("_/Data Val", "Value", 12), print(result) hotos - 1.PNG - 0 x .. See all photos + Add to Q @ # $ % Run: + Firebase Test x C:\Users\Sandy PycharmProjects\Arduino_Python\venv\Scripts\python.exe C:/Users/Sandy/PycharmPro Traceback (most recent call last): File "C:/Users/Sandy/PycharmProjects/Arduino Python/FirebaseTest.py", line 1, in from firebase import firebase File "C:\Users\Sandy\PycharmProjects\Arduino Python\venv\lib site-packages\firebase init import python_jwt as jwt ModuleNotFoundError: No module named 'python_jwt' IR 2 0 - Process finished with exit code 1 4: Run 6: TODO Terminal Python Console See all photos + Add to Q @ .. e Firebase Test.py X from firebase import firebase url = "https://motion-sensor-data-989b8.firebaseio.com/ firebase = firebase.FirebaseApplication(url), result = firebase.put("_/Data Val", "Value", 12), print(result) hotos - 1.PNG - 0 x .. See all photos + Add to Q @ # $ % Run: + Firebase Test x C:\Users\Sandy PycharmProjects\Arduino_Python\venv\Scripts\python.exe C:/Users/Sandy/PycharmPro Traceback (most recent call last): File "C:/Users/Sandy/PycharmProjects/Arduino Python/FirebaseTest.py", line 1, in from firebase import firebase File "C:\Users\Sandy\PycharmProjects\Arduino Python\venv\lib site-packages\firebase init import python_jwt as jwt ModuleNotFoundError: No module named 'python_jwt' IR 2 0 - Process finished with exit code 1 4: Run 6: TODO Terminal Python Console

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

1. Describe the factors that lead to productive conflict

Answered: 1 week ago