gspread 在 Google Colab 中不断恢复到版本 3.4.2。我想运行 5.2.0 以避免超时

发布于 2025-01-13 00:13:14 字数 175 浏览 2 评论 0原文

我正在使用谷歌Colab。 gspread 3.4.2 似乎是默认的。我已经卸载了3.4.2并安装了5.2.0,但是下次我用新的运行时打开程序时,它又回到了3.4.2。

我正在将一个大型数据帧加载到 googlesheet,在 3.4.2 下超时,但在 5.2.0 下工作正常。

我应该做什么来纠正这个问题?

I am using Google Colab. gspread 3.4.2 seems to be the default. I have uninstalled 3.4.2 and installed 5.2.0, but the next time I open the program with a new runtime, it is back to 3.4.2.

I am loading a large dataframe to a googlesheet, and it times out under 3.4.2, but works fine under 5.2.0.

What should I do to correct this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尹雨沫 2025-01-20 00:13:14

通过 Google 协作在线示例,您可以安装库、gspread 已安装,但使用的是旧版本,因此您可以将其升级到最新版本,如下所示:

!pip install --upgrade gspread

这将安装最新版本的 gspread。

From Google collaboration online examples you can install libraries, gspread is already installed but using an old version so you can just upgrade it to latest version like so:

!pip install --upgrade gspread

This will install latest version of gspread.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文