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에서는 불가능합니다. JMP는 Python의 Unicode API를 호출하여 JMP의 내부 문자열 표현과 Python의 문자열을 변환합니다. Python의 Unicode API가 변경되었고 PyUnicode_AsUnicodeAndSize는 Python에서 얼마 동안 사용되지 않다가 Python 3.12.x에서 마침내 제거된 API 중 하나입니다. JMP 17.2의 코드 베이스를 검색하여 JMP가 업데이트되어 새로운 API를 활용하고 있는지 확인했습니다.
Python 3.12가 JMP 17에서 잘 작동해서 기쁩니다. Python 3.12는 비교적 새로운 버전이기 때문에, 곧 출시될 JMP 18의 테스트 초점은 Python 3.11.x에 맞춰져 있습니다.
Re: Python 3.12.2가 Windows 11에서 JMP 16.0과 작동하지 않음이제 JMP 16.0은 Python 3.7-3.9만 전체적으로 지원하고, JMP 17.0에서는 같은 문제가 없다는 것을 알게 되었습니다.