{"id":160482,"date":"2022-10-19T07:55:44","date_gmt":"2022-10-19T07:55:44","guid":{"rendered":"\/knowledge\/?post_type=topic&#038;p=160482"},"modified":"2022-10-19T13:57:14","modified_gmt":"2022-10-19T13:57:14","slug":"modelcenter-tech-note-python-2-no-longer-supported","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/modelcenter-tech-note-python-2-no-longer-supported\/","title":{"rendered":"ModelCenter Tech Note Python 2 No Longer Supported"},"content":{"rendered":"<p>Date: September 27, 2021<\/p>\n<p>Product: Ansys ModelCenter &#038; ModelCenter Remote Execution 14.5<\/p>\n<p>Severity: Informational<\/p>\n<p><strong>Introduction:<\/strong> Support for Python 2 is no longer available in ModelCenter 14.5. User provided 64-bit<br \/>\nversions of Python 3 are supported.<\/p>\n<p><strong>Issue:<\/strong> Python 2 will no longer be included with the ModelCenter and ModelCenter Remote<br \/>\nExecution installers and Python 2 is no longer supported. Support for user provided 64-bit versions of<br \/>\nPython 3 was introduced in ModelCenter 13.5 and remains available.<br \/>\nPhoenix Integration software support 64-bit CPython and Anaconda Python version 3.5. Other variants<br \/>\nof Python may work but are not officially supported or tested.<\/p>\n<p><strong>Impact:<\/strong> Python 2 is no longer supported. <\/p>\n<p><strong>Resolution: <\/strong>Users should update any Python 2 scripts to Python 3. Users who wish to use Python<br \/>\nwith ModelCenter can install a user provided 64-bit version of Python 3 and configure ModelCenter<br \/>\nRemote Execution to use this version.<br \/>\nRefer to the ModelCenter Remote Execution Help File for instructions on configuring ModelCenter<br \/>\nRemote Execution to use the desired 64-bit version of Python 3. On the main page of the ModelCenter<br \/>\nRemote Execution help file select the \u201cPython Installation\u201d link in the Quick Links section for more<br \/>\ninformation.<\/p>\n<p><strong>Related Information: <\/strong>There are differences between legacy Python 2.x and the new Python 3.x<br \/>\nwhich mean that code written in legacy Python may not function as expected if run with Python 3.x.<br \/>\nCode should be tested or converted before using. See the following links for more information:<br \/>\n&#8211; Should I use Python 2 or 3 for my development activity?<br \/>\nhttps:\/\/wiki.python.org\/moin\/Python2orPython3<br \/>\n&#8211; Porting Python 2 Code to Python 3: https:\/\/docs.python.org\/3\/howto\/pyporting.html<\/p>\n<p>For more information contact Support at PHX-Support@ansys.com or 800-500-1936 Option <\/p>\n","protected":false},"template":"","class_list":["post-160482","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_edit_lock":["1666187839:2"],"_edit_last":["2"],"_bbp_forum_id":["160491"],"_bbp_topic_id":["160482"],"_bbp_author_ip":["23.198.14.134"],"_bbp_last_reply_id":["0"],"_bbp_last_active_id":["160482"],"_bbp_last_active_time":["2022-10-19 07:55:44"],"_bbp_reply_count":["0"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["0"],"_yoast_wpseo_content_score":["60"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"_yoast_wpseo_wordproof_timestamp":[""],"_oembed_5c4da2a7cfd16bb532421be35ee67bd3":["{{unknown}}"],"_btv_view_count":["1385"],"_oembed_655c2cc99456d8dd0760c143b72c6846":["{{unknown}}"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/160482\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=160482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}