--- stderr:
Compiling with an SDK that doesn't seem to exist: /Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
Please check your Xcode installation
clang: warning: no such sysroot directory: '/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk' [-Wmissing-sysroot]
clang: warning: argument unused during compilation: '-L/opt/homebrew/lib' [-Wunused-command-line-argument]
In file included from native/common/jp_array.cpp:16:
native/common/include/jpype.h:64:10: fatal error: 'map' file not found
#include <map>
^~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
---
error: Installation of dependencies failed in venv at
error
environment
Installing
jpype==1.5
onpython3.9
gave the error above.I also have java, and I think I have installed the macos sdk, but it seems to be getting the wrong path when building.
How can I fix this? This is an M2 ARM MacBook Air.