>>> ...
>>> 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,
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
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
stem codec
ModuleNotFoundError: No module named 'encodings'
Thanks for the help
Jason
--
https://mail.python.org/mailman/listinfo/python-list