PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tika-server.jar' code example
Example: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:
import shutil
# U must delete config folder every run
shutil.rmtree('config') # Delete config folder