ddf
Active Member
- Jun 27, 2017
- 714
- 401
- 294
Hi!I created this topic to simplify updating and maintaining the tool, so that people no longer have to search for the current version among the messages.
First of all - thank you a lot for the tool.
I was using UnRen-forall.bat v8.6 and was getting the following error:
Code:
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
LookupError: no codec search functions registered: can't find encoding
Code:
set "PYTHONHOME=%pythondir%"
if exist "lib\pythonlib2.7" (
set "PYTHONPATH=%cd%\lib\pythonlib2.7"
) else if exist "lib\python2.7" (
set "PYTHONPATH=%cd%\lib\python2.7"
) else if exist "lib\python3.9" (
set "PYTHONPATH=%cd%\lib\python3.9"
)
On discuss.python.org it was mentioned that setting PYTHONHOME is usually not necessarily.