diff --git a/src/pya/pya/pya.cc b/src/pya/pya/pya.cc index bc544e7f7..98b31ed2b 100644 --- a/src/pya/pya/pya.cc +++ b/src/pya/pya/pya.cc @@ -293,7 +293,7 @@ PythonInterpreter::PythonInterpreter (bool embedded) } } - Py_SetPath (tl::to_wstring (path).c_str ()); + tl::set_env (pythonpath_name, path); }