Small Asteroid Blog

SyntaxError: ('future feature print_function is not defined', ('__pyclasspath__/numpy/__init__.py', 107, 0, '')) 본문

백엔드/Spring

SyntaxError: ('future feature print_function is not defined', ('__pyclasspath__/numpy/__init__.py', 107, 0, ''))

작은소행성☄️ 2021. 10. 22. 13:28
728x90

 

 

Jython 2.7 을 사용하고 있는데

다음 버전에서는 numpy, pandas 등의 외부라이브러리를 사용을 할 수 없어서 생기는 오류이다. 

외부 라이브러리 호출이 필요한 경우에는 Java에 내장된 Process 호출 기능을 사용해야한다. 

 

 

 

728x90
반응형