我是 mac 用户,使用 sublime text,这是代码,
from googleapiclient.http import MediaFileUpload
from Google import Create_Service
File = 'file.json'
Api = 'Drive'
apiVersion = 'V3'
scopes = ['https://www.googleapis.com/auth/drive']
**我已经安装了谷歌库
pip install google
pip install google-api-core
pip3 install google-api-python-client
ran all these commands
也更新了它,但仍然没有任何效果,它显示相同的错误**
您缺少一些导入内容
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib