I am trying to unRAR a folder and then move the files in the RAR file to different folders.
I am running in to an issue when trying to unRar the Files. Here is what I am currently looking at.
import patoolib, os
file = 'C:\\mydocuments\RCExport.rar'
file_path = 'C:\\Users\my_folder'
patoolib.extract_archive(file, outdir= file_path)
When I run the 4th line - I get the error:
PatoolError: could not find an executable program to extract format rar; candidates are (rar,unrar,7z)
Which I dont understand because there is clearly a rar file in my file path.
Any help is appreciated.