"can not find tool …“
具体解决方法:
搜索到系统WinRAR的目录,将里面的WinRAR.exe和unRAR.exe都拷贝到所用python环境的 Scripts文件夹下。
原因:python rarfile解压缩需要调用windows的unRAR.exe工具; 压缩需要调用winRAR.exe工具(本例是解压缩,像某些帖子只拷贝WinRAR.exe是不起字作用的)
其它方法: 将winRAR的路径加入系统变量中
来源:https://blog.csdn.net/PerfeyCui/article/details/108881786
相关文章