I am receiving an error when running:
Python Init();
Python Submit( "\[basket = ['apple', 'orange', 'pear']
print(basket)]\" );
Python Term();
As mention in: https://www.jmp.com/support/help/zh/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integra...
The error message is:
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() /*###*/;
The documentation in: https://docs.python.org/3/whatsnew/3.12.html
Mentions that PyUnicode_AsUnicodeAndSize()
as a API has been removed.
Is there a way to get python to work?