diff --git a/src/ansys/aedt/core/workflows/templates/run_extension_manager.py_build b/src/ansys/aedt/core/workflows/templates/run_extension_manager.py_build index 8ec46c8c71f..0d831bc42a4 100644 --- a/src/ansys/aedt/core/workflows/templates/run_extension_manager.py_build +++ b/src/ansys/aedt/core/workflows/templates/run_extension_manager.py_build @@ -50,10 +50,10 @@ def main(): # Get AEDT version version_short = oDesktop.GetVersion()[2:6].replace(".", "") # Launch extension manager - python_exe = r"C:\Users\smorais\AppData\Roaming\.pyaedt_env\3_10\Scripts\python.exe" + python_exe = r"##PYTHON_EXE##" % version # Extensions directory current_dir = os.path.dirname(os.path.abspath(os.path.realpath(__file__))) - pyaedt_extensions_dir = os.path.normpath(os.path.join(current_dir, r"Lib")) + pyaedt_extensions_dir = os.path.normpath(os.path.join(current_dir, r"##TOOLKIT_REL_LIB_DIR##")) pyaedt_script = os.path.join(pyaedt_extensions_dir, "extension_manager.py") # Check if CPython interpreter and AEDT release match python_exe = pyaedt_utils.sanitize_interpreter_path(python_exe, version_short)