Hello, the library import in
|
lib_path = lib_path or find_library("unrar.dll") |
is 32bit dll and it won't work if python in 64bit. I have to modify it to UnRAR64.dll for it to work.
I suggest a solution for this problem:
-Detect architechture (x32 or x64) to import correct library
-Create a default path to those libraríe instead of just using MESSY ENVIRONMENT VARIABLE only, which in most case is C:\Program Files (x86)\UnrarDLL for x32 and C:\Program Files (x86)\UnrarDLL\x64 for x64.
And please update the version on PIP.
Thank you very much
Hello, the library import in
python-unrar/unrar/unrarlib.py
Line 44 in ceaf02f
I suggest a solution for this problem:
-Detect architechture (x32 or x64) to import correct library
-Create a default path to those libraríe instead of just using MESSY ENVIRONMENT VARIABLE only, which in most case is C:\Program Files (x86)\UnrarDLL for x32 and C:\Program Files (x86)\UnrarDLL\x64 for x64.
And please update the version on PIP.
Thank you very much