I have installed PyAEDT using the Ansys Python Manager, version 3.13.
I am trying to run the following script to load and modify an existing project. I have confirmed the project exists / path correctness and I have permissions to edit the file.
from ansys.aedt.core import *
app_version="2025.2"
non_graphical=False
close_on_exit=True
student_version=False
project_file="G:\\projects\\am62_som\\hw\\pcb\\90-000459_MitySOM_AM62xx\\Ansys\\90-000459_MitySOM_AM62XX.siwaveresults\\Designer\\DDR_Write_schematic.aedt"
dt = Desktop(version=app_version, non_graphical=non_graphical, student_version=student_version, close_on_exit=close_on_exit, new_desktop=False)
dt.load_project(project_file=project_file)
The results from running the command:
PyAEDT INFO: Python version 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:15:11) [MSC v.1944 64 bit (AMD64)].
PyAEDT INFO: PyAEDT version 0.23.0.
PyAEDT INFO: Initializing new Desktop session.
PyAEDT INFO: Log on console is enabled.
PyAEDT INFO: Log on file C:\Users\mikea\AppData\Local\Temp\pyaedt_mikea_76aef437-4960-4d99-a424-3bdf3fba1ece.log is enabled.
PyAEDT INFO: Log on AEDT is disabled.
PyAEDT INFO: Found active AEDT gRPC session on port 50001.
PyAEDT INFO: Connecting to AEDT gRPC session on port 50001.
PyAEDT INFO: AEDT installation Path I:\Program Files\ANSYS Inc\v252\AnsysEM
PyAEDT INFO: Client application successfully started.
c:\Users\mikea\.ansys_python_venvs\Ansys_PY13\Lib\site-packages\ansys\aedt\core\modeler\schematic.py:40: UserWarning: EMIT API is only available for Python 3.8-3.12.
warnings.warn("EMIT API is only available for Python 3.8-3.12.")
PyAEDT WARNING: Service Pack is not detected. PyAEDT is currently connecting in Insecure Mode.
PyAEDT WARNING: Please download and install latest Service Pack to use connect to AEDT in Secure Mode.
PyAEDT INFO: Debug logger is disabled. PyAEDT methods will not be logged.
PyAEDT ERROR: **************************************************************
PyAEDT ERROR: File "<frozen runpy>", line 198, in _run_module_as_main
PyAEDT ERROR: File "<frozen runpy>", line 88, in _run_code
PyAEDT ERROR: File "C:\Users\mikea\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 683, in run_forever
PyAEDT ERROR: self._run_once()
PyAEDT ERROR: File "C:\Users\mikea\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 2050, in _run_once
PyAEDT ERROR: handle._run()
PyAEDT ERROR: File "C:\Users\mikea\AppData\Local\Programs\Python\Python313\Lib\asyncio\events.py", line 89, in _run
PyAEDT ERROR: self._context.run(self._callback, *self._args)
PyAEDT ERROR: File "C:\Users\mikea\AppData\Local\Temp\ipykernel_58880\2430460960.py", line 13, in <module>
PyAEDT ERROR: dt.load_project(project_file=project_file)
PyAEDT ERROR: File "c:\Users\mikea\.ansys_python_venvs\Ansys_PY13\Lib\site-packages\ansys\aedt\core\desktop.py", line 1451, in load_project
PyAEDT ERROR: proj = self.odesktop.OpenProject(project_file)
PyAEDT ERROR: AEDT API Error on load_project
PyAEDT ERROR: Method arguments:
PyAEDT ERROR: project_file = G:\projects\am62_som\hw\pcb\90-000459_MitySOM_AM62xx\Ansys\90-000459_MitySOM_AM62XX.siwaveresults\Designer\DDR_Write_schematic.aedt
PyAEDT ERROR: **************************************************************
I enabled additional debug and launched the AEDT from the command line per the documentation, the only additional error I am seeing in any of the log files is below:
(11:07:00.344217 AM Dec 27, 2025) {58628}: TraceId = 36905126feb03f48177e4cef0b6b30ef
(11:07:00.344217 AM Dec 27, 2025) {58628}: HostName = mike-2020
(11:07:00.344806 AM Dec 27, 2025) {58628}: Process Ancestry for 47756:
PID 47756 = I:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe
PID 56516 = C:\Windows\System32\cmd.exe
(11:07:00.344921 AM Dec 27, 2025) {58628}: Ansys RSM proxy is a submit-time only proxy.
(11:07:11.463477 AM Dec 27, 2025) {58628}: TraceId = 36905126feb03f48177e4cef0b6b30ef
(11:07:11.463477 AM Dec 27, 2025) {58628}: HostName = mike-2020
(11:07:11.463842 AM Dec 27, 2025) {58628}: Process Ancestry for 47756:
PID 47756 = I:\Program Files\ANSYS Inc\v252\AnsysEM\ansysedt.exe
PID 56516 = C:\Windows\System32\cmd.exe
(11:07:11.470447 AM Dec 27, 2025) {58628}: ANSYSRSM_GetProxySpecs: starting.
(11:07:11.470761 AM Dec 27, 2025) {58628}: CreateCommandLine: number of arguments = 2.
(11:07:11.470964 AM Dec 27, 2025) {58628}: CreateCommandLine: argument[0] = <i:\Program Files\ANSYS Inc\v252\AnsysEM\check_feature.exe>.
(11:07:11.471120 AM Dec 27, 2025) {58628}: CreateCommandLine: argument[1] = <SF6142_ANSYS_RSM_PROXY>.
(11:07:11.471255 AM Dec 27, 2025) {58628}: CreateCommandLine: command line = <"i:\Program Files\ANSYS Inc\v252\AnsysEM\check_feature.exe" SF6142_ANSYS_RSM_PROXY>.
(11:07:12.478936 AM Dec 27, 2025) {58628}: IsFeatureEnabled: checker returned stdout: "DISABLED
", stderr: ""
(11:07:12.479206 AM Dec 27, 2025) {58628}: CreateCommandLine: number of arguments = 2.
(11:07:12.479335 AM Dec 27, 2025) {58628}: CreateCommandLine: argument[0] = <i:\Program Files\ANSYS Inc\v252\AnsysEM\check_feature.exe>.
(11:07:12.479484 AM Dec 27, 2025) {58628}: CreateCommandLine: argument[1] = <SF6142_Ansys_Cloud_Proxy>.
(11:07:12.479728 AM Dec 27, 2025) {58628}: CreateCommandLine: command line = <"i:\Program Files\ANSYS Inc\v252\AnsysEM\check_feature.exe" SF6142_Ansys_Cloud_Proxy>.
(11:07:13.483791 AM Dec 27, 2025) {58628}: IsFeatureEnabled: checker returned stdout: "DISABLED
", stderr: ""
(11:07:13.484084 AM Dec 27, 2025) {58628}: ANSYSRSM_GetProxySpecs: done.
Is there a feature or enablement I need to run the PyAEDT commands to support scripting the tool?
Thanks,
Mike