So, let me give a little background on what I’m trying to achieve and where exactly this error is coming.
So, my aim is: As soon as I turn on my Jetson nano my python program would start running. The python program doing object detection and uploading the number of objects in the frame to realtime database on firebase (which in turn we use to display on app). So the important thing is the module firebase.
So I install firebase using the command:
pip3 install python-firebase
and inside the code we importing these:
from firebase import firebase from firebase.firebase import FirebaseApplication
So here is where things get interesting, when I run this program through terminal like:
it runs without any problem but as I mentioned above earlier that my aim is to run that program as soon as the jetson gets plugged in, so I’m achieving that like this( i ran a demo script by this method and it works):
So this is where the problem comes, when it tries to import all the modules, the process gets exited and when I logged that error it shows (as I can’t see the terminal when this program autostarts):
No module named firebase
It works perfectly fine when executing the script manually but this is the problem I suppose…Can anyone help me out here? I leave the dummy code below to try this.
EDIT: changed title