Невозможно разархивировать файл с помощью терминала ubuntu

У меня была такая же ошибка при установке 14.04. Я исправил это, убедившись, что все scipy-зависимости установлены через:

sudo apt-get install python-pip python-dev build-essential libatlas-base-dev gfortran

Я считаю, что это было просто sudo apt-get install gfortran, что было необходимо. Если вы попробуете это первым и сообщите нам, как это получится, было бы полезно.

Это было из этой темы: https://www.kaggle.com/c/avazu-ctr-prediction/forums/ т / 12478 / kaggler-питон-пакет-для-kaggler

0
задан 18 December 2017 в 12:46

3 ответа

Как ваш zip-файл кажется поврежденным (zipfile corrupt), вы можете попробовать восстановить файл, а затем распаковать восстановленный файл:

zip -FF corrupt.zip --out repaired.zip
unzip repaired.zip  

Обратите внимание, что поврежденные части могут отсутствовать.

из unzip manual:

-FF
   --fixfix
          Fix the zip archive. The -F option can be used if some portions of the archive are missing, but requires a reasonably intact central directory.  The input archive is scanned as usual, but zip
          will ignore some problems.  The resulting archive should be valid, but any inconsistent entries will be left out.

          When  doubled  as  in -FF, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive members. The single -F is more reliable if
          the archive is not too much damaged, so try this option first.

(через)

4
ответ дан 22 May 2018 в 16:55
  • 1
    если мой ответ помог вам с вашей проблемой, не стесняйтесь отмечать принятый ответ. благодаря – RoVo 20 December 2017 в 14:43

Как ваш zip-файл кажется поврежденным (zipfile corrupt), вы можете попробовать восстановить файл, а затем распаковать восстановленный файл:

zip -FF corrupt.zip --out repaired.zip unzip repaired.zip

Обратите внимание, что поврежденные части могут отсутствовать.

из unzip manual:

-FF --fixfix Fix the zip archive. The -F option can be used if some portions of the archive are missing, but requires a reasonably intact central directory. The input archive is scanned as usual, but zip will ignore some problems. The resulting archive should be valid, but any inconsistent entries will be left out. When doubled as in -FF, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive members. The single -F is more reliable if the archive is not too much damaged, so try this option first.

(через)

4
ответ дан 18 July 2018 в 00:57

Как ваш zip-файл кажется поврежденным (zipfile corrupt), вы можете попробовать восстановить файл, а затем распаковать восстановленный файл:

zip -FF corrupt.zip --out repaired.zip unzip repaired.zip

Обратите внимание, что поврежденные части могут отсутствовать.

из unzip manual:

-FF --fixfix Fix the zip archive. The -F option can be used if some portions of the archive are missing, but requires a reasonably intact central directory. The input archive is scanned as usual, but zip will ignore some problems. The resulting archive should be valid, but any inconsistent entries will be left out. When doubled as in -FF, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive members. The single -F is more reliable if the archive is not too much damaged, so try this option first.

(через)

4
ответ дан 24 July 2018 в 17:18

Другие вопросы по тегам:

Похожие вопросы: