Rar File issue with Extract

146 views Asked by At

raise RarCannotExec("Cannot find working tool")

import rarfile

rarpath = '/home/server/test_rar/ABC.rar'

def unrar(file):
   rf=rarfile.RarFile(file)
   rf.extractall()

unrar(rarpath)
1

There are 1 answers

2
sur0k On

WinRAR is proprietary software. You also need to have it. An actual answer is here