ModuleNotFoundError: No module named 'oauth2client'
very strange error.
I have a main.py that runs bash script that run the uploader.
in my main python I have this:
subprocess.cal("./2b.sh", shell=True)
the bash scripts executes fine but it displays an error when it execute .uploader.py
my 2b.sh bash script has this #!/bin/bash suffix=$(date +%H%M%S) cd /home/pi/simple-photo/photos/ sudo cp image0.jpg /home/pi/photo_images/image-${suffix}-0.jpg ./uploader.py /home/pi/simple-photo-booth/uploader.cfg /home/pi/simple-photo-booth/photos/$returnvalue
I get the error
File "/home/pi/simple-photo/uploader.py", line 23, in
but if I execute 2b.sh from the command line, it works and it upload the picture to Google.