Re: ModuleNotFoundError: No module named 'encodings'

2018-09-07 Thread Thomas Jollans
>>> ... >>> Py_SetPythonHome("python_path"); >>> >> >> This isn't actually a line in your code, is it? For one thing, >> Py_SetPythonHome expects a wchar_t*... >> >> Py_Initialize(); >>> >>> This works fine on Python 3.6.4 version,

Re: ModuleNotFoundError: No module named 'encodings'

2018-09-07 Thread Jason Qian via Python-list
isn't actually a line in your code, is it? For one thing, > Py_SetPythonHome expects a wchar_t*... > > Py_Initialize(); >> >> This works fine on Python 3.6.4 version, but got errors on Python 3.7.0 >> when calling Py_Initialize(), >> >> Fatal Python e

Re: ModuleNotFoundError: No module named 'encodings'

2018-09-06 Thread Thomas Jollans
ialize(); This works fine on Python 3.6.4 version, but got errors on Python 3.7.0 when calling Py_Initialize(), Fatal Python error: initfsencoding: unable to load the file system codec ModuleNotFoundError: No module named 'encodings' So, Python can't find a core module. This either m

ModuleNotFoundError: No module named 'encodings'

2018-09-06 Thread Jason Qian via Python-list
stem codec ModuleNotFoundError: No module named 'encodings' Thanks for the help Jason -- https://mail.python.org/mailman/listinfo/python-list