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:
- Select Binaries;
- Download the ZIP;
- Finally, copy the downloaded unzip.exe file to C:\Windows\System32 .
Go back to running jupyter and get off safely! ! !