Python 3.12.2가 Windows 11의 JMP 16.0에서 작동하지 않습니다.실행할 때 오류가 발생합니다.
Python Init();
Python Submit( "\[basket = ['apple', 'orange', 'pear']
print(basket)]\" );
Python Term();
언급된 내용: https://www.jmp.com/support/help/zh/15.2/index.shtml#page/jmp/troubleshooting-the-jmp-python-integration.shtml
오류 메시지는 다음과 같습니다.
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() /*###*/;
문서: https://docs.python.org/3/whatsnew/3.12.html
Mentions that PyUnicode_AsUnicodeAndSize() as a API has been removed.
파이썬을 작동시킬 수 있는 방법이 있나요?
자동화 및 스크립팅데이터 접근윈도우Re: Python 3.12.2가 Windows 11의 JMP 16.0에서 작동하지 않습니다.이제 JMP 16.0은 전체적으로 Python 3.7-3.9만 지원하며 JMP 17.0에는 동일한 문제가 없다는 것을 깨달았습니다.
Re: Python 3.12.2가 Windows 11의 JMP 16.0에서 작동하지 않습니다.죄송합니다. JMP 16.0에서는 불가능합니다. JMP는 Python의 유니코드 API를 호출하여 JMP의 내부 문자열 표현과 Python의 문자열 간을 변환합니다. Python의 유니코드 API가 변경되었으며 PyUnicode_AsUnicodeAndSize는 한동안 Python에서 더 이상 사용되지 않는 API 중 하나이며 마침내 Python 3.12.x에서 제거되었습니다. JMP 17.2의 코드 베이스를 검색하여 최신 API를 활용하여 JMP가 업데이트되었는지 확인했습니다.
Python 3.12가 JMP 17에서 작동한다는 소식을 들으니 기쁩니다. Python 3.12는 상당히 새로운 버전이므로 곧 출시될 JMP 18의 테스트 초점은 Python 3.11.x였습니다.