<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python 3.12.2 not working with JMP 16.0 on Windows 11 in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/724190#M90622</link>
    <description>&lt;P&gt;I now realize that JMP 16.0 only supports Python 3.7-3.9 in it's entirety, JMP 17.0 does not have the same issue.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 02:45:19 GMT</pubDate>
    <dc:creator>neelsrejan</dc:creator>
    <dc:date>2024-02-14T02:45:19Z</dc:date>
    <item>
      <title>Python 3.12.2 not working with JMP 16.0 on Windows 11</title>
      <link>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/723071#M90525</link>
      <description>&lt;P&gt;I am receiving an error when running:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Init();
Python Submit( "\[basket = ['apple', 'orange', 'pear']
print(basket)]\" );
Python Term();&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As mention in:&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/zh/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integration.shtml" target="_blank"&gt;https://www.jmp.com/support/help/zh/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integration.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python entry point "PyUnicode_AsUnicodeAndSize" not found. in access or evaluation of 'Glue' , Python Init( Init Trace( "True" ) ); /*###*/
Python Submit( "basket = ['apple', 'orange', 'pear']
print(basket)" ); /*###*/
Python Term() /*###*/;

In the following script, error marked by /*###*/
Python Init( Init Trace( "True" ) ); /*###*/
Python Submit( "basket = ['apple', 'orange', 'pear']
print(basket)" ); /*###*/
Python Term() /*###*/;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The documentation in: &lt;A href="https://docs.python.org/3/whatsnew/3.12.html" target="_blank"&gt;https://docs.python.org/3/whatsnew/3.12.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Mentions that&amp;nbsp;&lt;CODE class=" language-jsl"&gt;PyUnicode_AsUnicodeAndSize()&lt;/CODE&gt;&amp;nbsp;as a API has been removed.&lt;/P&gt;&lt;P&gt;Is there a way to get python to work?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 04:03:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/723071#M90525</guid>
      <dc:creator>neelsrejan</dc:creator>
      <dc:date>2024-02-09T04:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3.12.2 not working with JMP 16.0 on Windows 11</title>
      <link>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/724190#M90622</link>
      <description>&lt;P&gt;I now realize that JMP 16.0 only supports Python 3.7-3.9 in it's entirety, JMP 17.0 does not have the same issue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 02:45:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/724190#M90622</guid>
      <dc:creator>neelsrejan</dc:creator>
      <dc:date>2024-02-14T02:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Python 3.12.2 not working with JMP 16.0 on Windows 11</title>
      <link>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/724731#M90786</link>
      <description>&lt;P&gt;Sorry, not possible with JMP 16.0. &amp;nbsp;JMP calls Python's Unicode APIs to convert between JMP's internal string representations and Python's strings. &amp;nbsp;Python's unicode APIs have changed and PyUnicode_AsUnicodeAndSize is one of those that has been deprecated by Python for some time, and has finally been removed in Python 3.12.x. &amp;nbsp;I did search JMP 17.2's code base to confirm JMP has been updated, utilizing newer APIs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am happy to hear that Python 3.12 is working for you in JMP 17. &amp;nbsp;The testing focus for upcoming JMP 18 has been Python 3.11.x as Python 3.12 is fairly new. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 20:56:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Python-3-12-2-not-working-with-JMP-16-0-on-Windows-11/m-p/724731#M90786</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2024-02-19T20:56:16Z</dc:date>
    </item>
  </channel>
</rss>

