Python rarfile package error rarfile.RarCannotExec: Cannot find working tool (Window only)

Visa
Sep 12, 2021

Recently, I want to create a python script to automatically extract the zip file automatically, but I ran into a problem when zipFile could not extract rarFile so I have to use rarFile to extract the rar file.

However, I ran into a problem after I install the rarfile package, the error “cannot find working tool”. I found a solution on the internet in a different language. So I want to share how to solve the problem in English here.

The solutions to solve this issue are following steps

  • Reset the IDE and Reopen the command prompt.

Sources:

--

--

Visa

A computer science student strives to work in the top 500 tech companies in the US. buymeacoffee.com/visatch