Error compiling Cython file:…
- User
Error compiling Cython file:
... import sys import traceback
include "jnius_compat.pxi" include "jni.pxi" include "config.pxi" ^
jnius/jnius.pyx:100:0: 'config.pxi' not found
Error compiling Cython file:
...
include "jnius_compat.pxi" include "jni.pxi" include "config.pxi"
IF JNIUS_PLATFORM == "android": ^
jnius/jnius.pyx:102:3: Compile-time name 'JNIUS_PLATFORM' not defined
Error compiling Cython file:
... include "jni.pxi" include "config.pxi"
IF JNIUS_PLATFORM == "android": include "jnius_jvm_android.pxi" ELIF JNIUS_PLATFORM == "win32": ^
jnius/jnius.pyx:104:5: Compile-time name 'JNIUS_PLATFORM' not defined
Error compiling Cython file:
... include "config.pxi" ^
jnius/jnius_jvm_dlopen.pxi:1:0: 'config.pxi' not found
- Assistant
The errors you're encountering when compiling the Cython file for Pyjnius suggest that there are issues with the inclusion of
.pxifiles, particularlyconfig.pxi. The compiler also complains about the compile-time nameJNIUS_PLATFORMnot being defined.