Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load library: libjep.jnilib on Macos m1 #571

Open
andrew-zzz opened this issue Oct 31, 2024 · 1 comment
Open

Can't load library: libjep.jnilib on Macos m1 #571

andrew-zzz opened this issue Oct 31, 2024 · 1 comment
Labels

Comments

@andrew-zzz
Copy link

andrew-zzz commented Oct 31, 2024

Describe the problem
Can't load library: /opt/anaconda3/envs/py38/lib/python3.8/site-packages/jep/libjep.jnilib
firstly it Can't load library: libjep.jnilib and i try to fix it refer to some other post like System.load(libpython3.8.dylib) but it also can't find the libpython3.8.dylib
i need someone God save me

Search for existing solutions

Environment (please complete the following information):

  • MacOS,m1
  • python3.8
  • jdk 19.0.1
  • Jep Version: 4.2.1

Logs
image

Additional context
Add any other context about the problem here.

@bsteffensmeier
Copy link
Member

You need to ensure that both your java and python installation are built for the same architecture,either x86_64 or arm64. Right now they are each using a different architecture so they cannot be mixed in the same process.

@ndjensen ndjensen added the macOS label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants