


{"id":363673,"date":"2024-04-23T09:42:49","date_gmt":"2024-04-23T09:42:49","guid":{"rendered":"\/forum\/forums\/topic\/pyaedt-error\/"},"modified":"2024-04-23T09:42:49","modified_gmt":"2024-04-23T09:42:49","slug":"pyaedt-error","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/pyaedt-error\/","title":{"rendered":"PyAEDT Error"},"content":{"rendered":"<p>Hi,&nbsp;<\/p>\n<p>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: &#8220;Specified version 2024.1 is not installed on your system on __init__&#8221;<\/p>\n<p>The detailed error messages are shown below:<\/p>\n<p style=\"padding-left: 40px\">Python 3.10.9 (remotes\/origin\/4e018266dafe29ec2836492d71d245fcfd366d07-dirty:4e018266, Jan &nbsp;3 2) [MSC v.1920 64 bit (AMD64)]<br \/>Type &#8216;copyright&#8217;, &#8216;credits&#8217; or &#8216;license&#8217; for more information<br \/>IPython 8.23.0 &#8212; An enhanced Interactive Python. Type &#8216;?&#8217; for help.<br \/>Loading the PyAEDT Console.<br \/>PyAEDT INFO: Initializing new Desktop session.<br \/>PyAEDT INFO: StdOut is enabled<br \/>PyAEDT INFO: Log on file is enabled<br \/>PyAEDT INFO: Log on Desktop Message Manager is enabled<br \/>PyAEDT INFO: Debug logger is disabled. PyAEDT methods will not be logged.<br \/>PyAEDT ERROR: **************************************************************<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Program Files\\AnsysEM\\v241\\Win64\\commonfiles\\CPython\\3_10\\winx64\\Release\\python\\lib\\runpy.py&#8221;, line 196, in _run_module_as_main<br \/>PyAEDT ERROR: &nbsp; &nbsp; return _run_code(code, main_globals, None,<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Program Files\\AnsysEM\\v241\\Win64\\commonfiles\\CPython\\3_10\\winx64\\Release\\python\\lib\\runpy.py&#8221;, line 86, in _run_code<br \/>PyAEDT ERROR: &nbsp; &nbsp; exec(code, run_globals)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\Scripts\\ipython.exe\\__main__.py&#8221;, line 7, in &lt;module&gt;<br \/>PyAEDT ERROR: &nbsp; &nbsp; sys.exit(start_ipython())<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\__init__.py&#8221;, line 130, in start_ipython<br \/>PyAEDT ERROR: &nbsp; &nbsp; return launch_new_instance(argv=argv, **kwargs)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\traitlets\\config\\application.py&#8221;, line 1074, in launch_instance<br \/>PyAEDT ERROR: &nbsp; &nbsp; app.initialize(argv)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\traitlets\\config\\application.py&#8221;, line 118, in inner<br \/>PyAEDT ERROR: &nbsp; &nbsp; return method(app, *args, **kwargs)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\terminal\\ipapp.py&#8221;, line 284, in initialize<br \/>PyAEDT ERROR: &nbsp; &nbsp; self.init_code()<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\core\\shellapp.py&#8221;, line 309, in init_code<br \/>PyAEDT ERROR: &nbsp; &nbsp; self._run_cmd_line_code()<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\core\\shellapp.py&#8221;, line 434, in _run_cmd_line_code<br \/>PyAEDT ERROR: &nbsp; &nbsp; self._exec_file(fname, shell_futures=True)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\core\\shellapp.py&#8221;, line 359, in _exec_file<br \/>PyAEDT ERROR: &nbsp; &nbsp; self.shell.safe_execfile(full_filename,<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\IPython\\utils\\py3compat.py&#8221;, line 55, in execfile<br \/>PyAEDT ERROR: &nbsp; &nbsp; exec(compiler(f.read(), fname, &#8220;exec&#8221;), glob, loc)<br \/>PyAEDT ERROR: &nbsp; File &#8220;F:\\Weiyang\\PersonalLib\\Toolkits\\Project\\PyAEDT\\Lib\\console_setup.py&#8221;, line 66, in &lt;module&gt;<br \/>PyAEDT ERROR: &nbsp; &nbsp; desktop = Desktop(<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\pyaedt\\generic\\design_types.py&#8221;, line 1534, in Desktop<br \/>PyAEDT ERROR: &nbsp; &nbsp; return app(<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\pyaedt\\desktop.py&#8221;, line 545, in __init__<br \/>PyAEDT ERROR: &nbsp; &nbsp; student_version_flag, version_key, version = self._assert_version(specified_version, student_version)<br \/>PyAEDT ERROR: &nbsp; File &#8220;C:\\Users\\stu-miaow\\AppData\\Roaming\\pyaedt_env_ide\\v241\\lib\\site-packages\\pyaedt\\desktop.py&#8221;, line 777, in _assert_version<br \/>PyAEDT ERROR: &nbsp; &nbsp; raise ValueError(<br \/>PyAEDT ERROR: Specified version 2024.1 is not installed on your system on __init__<br \/>PyAEDT ERROR: Method arguments:<br \/>PyAEDT ERROR: &nbsp; &nbsp; specified_version = 2024.1<br \/>PyAEDT ERROR: &nbsp; &nbsp; port = 50051<br \/>PyAEDT ERROR: **************************************************************<\/p>\n<p>&nbsp;<\/p>\n<p>Can someone tell me how to resolve this problem? Thank you very much!<\/p>\n","protected":false},"template":"","class_list":["post-363673","topic","type-topic","status-closed","hentry","topic-tag-aedt","topic-tag-ironpython","topic-tag-pyansys-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["345761","28551"],"_bbp_author_ip":["23.52.43.16"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["5402"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["363673"],"_bbp_forum_id":["27793"],"_bbp_engagement":["28551","345761"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["364120"],"_bbp_last_active_id":["364120"],"_bbp_last_active_time":["2024-04-25 08:53:28"]},"test":"stu-miaowime-a-star-edu-sg"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/363673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/363673\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=363673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}