After adding the PYTHONPATH setting nothing works anymore and I get the following error message : Fatal Python error: init_sys_streams: can't initialize sys standard streams Python runtime state: core initialized Traceback (most recent call last): File "C:\Users\Rene\AppData\Local\Programs\Python\Python310\Lib\io.py", line 54, in <module> ImportError: cannot import name 'text_encoding' from 'io' (unknown location) I added a "System variable" PyHome : C:\Users\Rene\AppData\Local\Programs\Python\Python310 I added a "User variable" PYTHONPATH : %PyHome%;%PyHome%\Lib;%PyHome%\DLLs https://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-so-it-finds-my-modules-packages
... View more