google-colaboratory - 在本地运行时使用 google-colab 时如何访问谷歌驱动器数据?
问题描述
我曾尝试使用 PyDrive 进行身份验证并获得对 Google Drive 的访问权限。我遵循了这里的每一步,https://pythonhosted.org/PyDrive/quickstart.html。
下载并重命名“client_secrets.json”后,我应该在 Jupyter notebook 环境中的哪里放置或使用这个文件,以便在 google-colab 中访问 google-drive 以进行本地运行时?
我收到错误,InvalidConfigError:保存 PyDrive 凭据时客户端机密文件无效。
为了在“本地运行时”中使用 Google Colab。您必须安装 Jupyter 和相关软件包,我已经能够做到,如此处所述https://research.google.com/colaboratory/local-runtimes.html。
但是现在如何访问“google-drive”?
解决方案
推荐阅读
- docker - 无法在 docker logs -f 命令中找到初始 jenkins 密码
- react-native - 调度操作后 Redux 状态未更新
- swift - Swift 5 Tab View (macOS) 无法确认我给出的宽度
- javascript - 如何通过输入链接从另一个页面复制到我的页面
我想在我的网站上看到
<table class = "plan">
通过我的 css 和 js 代码从学校网站编辑的内容。我试过
<iframe>
了,但这不是我想要的,$ ('# target-div').
Load ('example.com');
但它是:- themes - 如何使用 gatsby-plugin-theme-ui 调整正文背景颜色
- java - 即使缓存被命中,Memcached 也会返回 null
- facebook-graph-api - 如何使用 FB Graph Api (Instagram) 正确过滤嵌套查询?
- nextflow - 如何收集 Nextflow 流程的有序输出?
- html - Css 强制 div 填充它和页脚之间的空间
- c++ - QToolButton 上的文本未绘制