Debug | Installation and use of zip and unzip (Windows)

        Today, when using jupyter to do drawing exercises, you need to download the compressed package of the seaborn dataset from the domestic mirror. When you decompress the compressed package, an error is displayed!

# 从国内镜像下载 seaborn 数据集避免下一步加载数据集失败
!wget -nc "https://labfile.oss.aliyuncs.com/courses/2616/seaborn-data.zip"
!unzip seaborn-data.zip -d ~/

 error message

'unzip' is not recognized as an internal or external command, operable program or batch file

error analysis

I encountered this problem when using !unzip          in jupyter notebook  , and found that unzip is under the linux system, and windows does not come with it.

Solution

Go to unzip official website ( Info-ZIP's UnZip

UnZip for Windows ) Download:

  1. Select Binaries;
  2. Download the ZIP;
  3. Finally, copy the downloaded unzip.exe file to C:\Windows\System32 .

 

          Go back to running jupyter and get off safely! !

 

Guess you like

Origin blog.csdn.net/m0_69478345/article/details/130045044