TAGGED: aedt, ironpython, pyansys
-
-
April 23, 2024 at 9:42 amSteven MiaoSubscriber
Hi,Â
I installed AEDT ver 2024 R1, and also installed PyAEDT 0.8.9, when I launch python console from AEDT, it always shows the error message: "Specified version 2024.1 is not installed on your system on __init__"
The detailed error messages are shown below:
Python 3.10.9 (remotes/origin/4e018266dafe29ec2836492d71d245fcfd366d07-dirty:4e018266, Jan  3 2) [MSC v.1920 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.23.0 -- An enhanced Interactive Python. Type '?' for help.
Loading the PyAEDT Console.
PyAEDT INFO: Initializing new Desktop session.
PyAEDT INFO: StdOut is enabled
PyAEDT INFO: Log on file is enabled
PyAEDT INFO: Log on Desktop Message Manager is enabled
PyAEDT INFO: Debug logger is disabled. PyAEDT methods will not be logged.
PyAEDT ERROR: **************************************************************
PyAEDT ERROR: Â File "C:\Program Files\AnsysEM\v241\Win64\commonfiles\CPython\3_10\winx64\Release\python\lib\runpy.py", line 196, in _run_module_as_main
PyAEDT ERROR: Â Â return _run_code(code, main_globals, None,
PyAEDT ERROR: Â File "C:\Program Files\AnsysEM\v241\Win64\commonfiles\CPython\3_10\winx64\Release\python\lib\runpy.py", line 86, in _run_code
PyAEDT ERROR: Â Â exec(code, run_globals)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\Scripts\ipython.exe\__main__.py", line 7, in
PyAEDT ERROR: Â Â sys.exit(start_ipython())
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\__init__.py", line 130, in start_ipython
PyAEDT ERROR: Â Â return launch_new_instance(argv=argv, **kwargs)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\traitlets\config\application.py", line 1074, in launch_instance
PyAEDT ERROR: Â Â app.initialize(argv)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\traitlets\config\application.py", line 118, in inner
PyAEDT ERROR: Â Â return method(app, *args, **kwargs)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\terminal\ipapp.py", line 284, in initialize
PyAEDT ERROR: Â Â self.init_code()
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\core\shellapp.py", line 309, in init_code
PyAEDT ERROR: Â Â self._run_cmd_line_code()
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\core\shellapp.py", line 434, in _run_cmd_line_code
PyAEDT ERROR: Â Â self._exec_file(fname, shell_futures=True)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\core\shellapp.py", line 359, in _exec_file
PyAEDT ERROR: Â Â self.shell.safe_execfile(full_filename,
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\IPython\utils\py3compat.py", line 55, in execfile
PyAEDT ERROR: Â Â exec(compiler(f.read(), fname, "exec"), glob, loc)
PyAEDT ERROR: Â File "F:\Weiyang\PersonalLib\Toolkits\Project\PyAEDT\Lib\console_setup.py", line 66, in
PyAEDT ERROR: Â Â desktop = Desktop(
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\pyaedt\generic\design_types.py", line 1534, in Desktop
PyAEDT ERROR: Â Â return app(
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\pyaedt\desktop.py", line 545, in __init__
PyAEDT ERROR: Â Â student_version_flag, version_key, version = self._assert_version(specified_version, student_version)
PyAEDT ERROR: Â File "C:\Users\stu-miaow\AppData\Roaming\pyaedt_env_ide\v241\lib\site-packages\pyaedt\desktop.py", line 777, in _assert_version
PyAEDT ERROR: Â Â raise ValueError(
PyAEDT ERROR: Specified version 2024.1 is not installed on your system on __init__
PyAEDT ERROR: Method arguments:
PyAEDT ERROR: Â Â specified_version = 2024.1
PyAEDT ERROR: Â Â port = 50051
PyAEDT ERROR: **************************************************************Â
Can someone tell me how to resolve this problem? Thank you very much!
-
April 25, 2024 at 8:53 amPraneethForum Moderator
Hi,
Thank you for reaching out to the Ansys learning forum.
Please note that the queries related to PyAEDT cannot be discussed in this forum as there is a dedicated forum. Kindly reach out to - Ansys Developer Portal | Ansys Developer Portal.
I hope this helps.
Best regards,
Praneeth.
-
- The topic ‘PyAEDT Error’ is closed to new replies.
- HFSS Incident Plane Wave excitement mode
- Question for Maxwell
- Simulation of capacitor combining eddy currents with displacement currents
- How to calculate eddy and hysteresis losses of the core?
- Ansys Maxwell 3D – eddy current
- How to determine initial position in motion setup
- dq graph non-conformity
- How to customize pulse waveform and injection site in microstrip array
- 180 Degree Phase Shift When Measuring S21
- Simplorer+Maxwell Cosimulation results and Maxwell results mismatch
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.