I'm trying to upload a file to drive using a script. I'm running on python 3.7.9
import os
from Google import Create_Service
from googleapiclient.http import MediaFileUpload
CLIENT_SECRET_FILE = 'google-auth.json'
API_NAME = 'drive'
API_VERSION = 'v3'
SCOPES = ['https://www.googleapis.com/auth/drive']
FILE = 'file.pdf'
service = Create_Service(CLIENT_SECRET_FILE, API_NAME, API_VERSION, SCOPES)
but I'm getting this
ModuleNotFoundError: No module named 'Google'
Also I've referred to other answers on the same issue, I tried them but still gives me the same error. I've installed required google modules.
google==3.0.0
google-api-core==1.30.0
google-api-python-client==2.12.0
google-auth==1.31.0
google-auth-httplib2==0.1.0
google-auth-oauthlib==0.4.4
google-cloud==0.34.0
google-cloud-bigquery==2.20.0
google-cloud-core==1.6.0
google-cloud-storage==1.38.0
google-crc32c==1.1.2
google-resumable-media==1.3.0
googleapis-common-protos==1.53.0
What am I missing here?