From 6b5189153ae0ca2634238d9ef2266ff2443aaa55 Mon Sep 17 00:00:00 2001 From: c0dem4ster <34509082+c0dem4ster@users.noreply.github.com> Date: Mon, 2 Jun 2025 16:20:44 +0200 Subject: [PATCH] fix error caused by using a path with whitespaces --- python/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/gui.py b/python/gui.py index 5c29ab105..257c55c85 100644 --- a/python/gui.py +++ b/python/gui.py @@ -26,7 +26,7 @@ def StartGUI(): if config.is_python_package and 'darwin' in sys.platform: # libngsolve and other libraries are installed into netgen python dir to keep relative installation paths, but tcl won't find them there automatically netgen_dir = os.path.abspath(os.path.dirname(netgen.__file__)) - win.tk.eval(f'set netgen_library_dir {netgen_dir}') + win.tk.eval(f'set netgen_library_dir "{netgen_dir}"') win.tk.eval( netgen.libngpy._meshing._ngscript)