Extract single file from RAR archive with rarfile in Python
问题 I have a RAR archive with 2 files and I want to extract only one. I found in another answer that I could use the rarfile package, which according to the documentation contains the extract function. However, when I try to run a script I get a FileNotFoundError: [WinError 2] and the following information: During handling of the above exception, another exception occurred : ... rarfile.RarCannotExec: Unrar not installed? (rarfile.UNRAR_TOOL='unrar') . From the information I could find, I saw it