【问题标题】:Google Colab: API error in opening up Python notebooks?Google Colab:打开 Python 笔记本时出现 API 错误?
【发布时间】:2018-10-08 00:13:47
【问题描述】:

Google Colab 提供 no-devops Jupyter-notebook 托管,在 Google Drive 上运行,但这适用于我的大多数同事,但不适用于我的帐户触发 API 错误,这样

Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
https://drive.google.com/drive/?action=locate&id=...
The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.
Error: The referrer https://...-apidata.googleusercontent.com/ does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions.
    at za.program_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at Ba (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at za.next_ (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at Da.next (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_
    at b (https://colab.research.google.com/v2/external/external_polymer_binary.js?vrz=colab_

如何解决 Google Colab 出现的 Authentication API 错误?

【问题讨论】:

    标签: python-3.x authentication machine-learning jupyter-notebook google-colaboratory


    【解决方案1】:

    笔记本是否在隐身窗口中加载?此类错误的常见原因是与您已安装的扩展程序之一发生冲突。

    【讨论】:

    • 对,我禁用了 uMatrix -extension here from chrome://extensions/
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-12
    • 2021-11-11
    • 2016-09-06
    • 2020-07-18
    • 2020-11-16
    • 2023-02-01
    相关资源
    最近更新 更多