mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 11:31:08 +02:00
Fixed a dummy error message on Windows/Python 3.7 and really ignore
This commit is contained in:
@@ -207,6 +207,8 @@ PythonInterpreter::PythonInterpreter (bool embedded)
|
||||
|
||||
tl_assert (sizeof (wchar_t) == 2);
|
||||
|
||||
Py_SetPythonHome (L""); // really ignore $PYTHONHOME + without this, we get dummy error message about lacking path for libraries
|
||||
|
||||
const wchar_t *python_path = _wgetenv (L"KLAYOUT_PYTHONPATH");
|
||||
if (python_path) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user