-
Notifications
You must be signed in to change notification settings - Fork 22
java.lang.UnsatisfiedLinkError: no pytorch_jni in java.library.path on OS X #6
Comments
Can you paste the command you are running? Did you remember to |
@dreiss I'm not running the exact demo but something representative with a jar build, so the export of
|
What if you put |
That find command would still work even if LIBTORCH_HOME was not exported. But your command also doesn't require it to be exported, so shrug. |
Wow, incredible debugging skills with very little info. Adding the |
I'm a bit curious why the |
I think anything after |
I think |
Makes perfect sense and this seems to agree with you. Thanks for the remote rubberducking! |
I'm trying to replicate a minimal change to this demo on OS X, but I am encountering an error:
I have recompiled pytorch from source and have confirmed that
libpytorch_jni
is indeed in thejava.library.path
:The README to this repo suggests OS X's java runtime will be stable by 1.5.0, so I'm mostly documenting this here. My pytorch version is
torch==1.5.0.dev20200324
.Context: this issue
The text was updated successfully, but these errors were encountered: