如何在 Google Colab 笔记本中解压缩非常大的 zip 文件(> 6gb)? [英] How can I unzip very large zip file (>6gb) in Google Colab notebook?

查看:35
本文介绍了如何在 Google Colab 笔记本中解压缩非常大的 zip 文件(> 6gb)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于错误,我无法将下载的文件解压缩到当前目录:

I am unable to unzip a file downloaded into current directory due to the error:

zipfiles that span multiple disks are not supported

我该如何解决这个问题?

How can I solve this problem?

推荐答案

我遇到了同样的问题,虽然不是在 Google Colab 中,但在我当地机构哥廷根图书馆的类似服务中.以前的解决方案对我不起作用,因为我没有在服务器上安装新程序的授权.相反,我直接使用了 Linux 中的 unzip 函数:

I had the same problem, although not in Google Colab, but in a similar service at my local institution at the Göttingen Library. The previous solution did not work for me, because I did not have the authorization to install new programs on the server. Instead, I used directly the function unzip from Linux:

!unzip your_zip_file.zip

这对我有用!

这篇关于如何在 Google Colab 笔记本中解压缩非常大的 zip 文件(> 6gb)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆