Google Colab:在打开Python笔记本时遇到API错误?

Google Colab提供无需运维的Jupyter笔记本托管服务,运行在Google Drive上。这种服务对我的大多数同事都有效,但在我的账户上却触发了API错误,错误信息如下:

Notebook loading errorThere 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中出现的身份验证API错误?


回答:

笔记本能在隐身窗口中加载吗?这种类型的错误常见原因是与您安装的某个扩展程序发生冲突。

Related Posts

使用LSTM在Python中预测未来值

这段代码可以预测指定股票的当前日期之前的值,但不能预测…

如何在gensim的word2vec模型中查找双词组的相似性

我有一个word2vec模型,假设我使用的是googl…

dask_xgboost.predict 可以工作但无法显示 – 数据必须是一维的

我试图使用 XGBoost 创建模型。 看起来我成功地…

ML Tuning – Cross Validation in Spark

我在https://spark.apache.org/…

如何在React JS中使用fetch从REST API获取预测

我正在开发一个应用程序,其中Flask REST AP…

如何分析ML.NET中多类分类预测得分数组?

我在ML.NET中创建了一个多类分类项目。该项目可以对…

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注