[issue36658] Py_Initialze() throws error 'unable to load the file system encoding' when calling Py_SetPath with a path to a directory

2019-04-18 Thread RimacV
New submission from RimacV : I compiled the source of CPython 3.7.3 myself on Windows with Visual Studio 2017 together with some packages like e.g numpy. When I start the Python Interpreter I am able to import and use numpy. However when I am running the same script via the C-API I get an

[issue36658] Py_Initialze() throws error 'unable to load the file system encoding' when calling Py_SetPath with a path to a directory

2019-04-18 Thread RimacV
RimacV added the comment: Thanks for your quick response! I will try your suggestion on tuesday and will then let you know, if it worked as expected. -- ___ Python tracker <https://bugs.python.org/issue36

[issue36658] Py_Initialze() throws error 'unable to load the file system encoding' when calling Py_SetPath with a path to a directory

2019-04-23 Thread RimacV
RimacV added the comment: As you said, I just had to set all paths, when using Py_SetPath. >From my side this issue could be closed. Thank you! :-) -- components: +Library (Lib) -Windows ___ Python tracker <https://bugs.python.org/issu