From 105751e2cf935f22e78ae8c72a0e02e39cd8c9d8 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 13 Nov 2024 00:47:27 +0100 Subject: [PATCH] Trying to become compatible with Python 3.13 on Windows --- src/pya/pya/pya.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }