installing editable hnn-core - dlopen fail #629
Replies: 3 comments 16 replies
-
Just to be clear, did you install Neuron using |
Beta Was this translation helpful? Give feedback.
-
I think those instructions might be outdated. Can you delete all copies of Neuron you have and do a fresh editable install of /usr/local/nrn/lib/python and then make a new environment and try installing in there. Make sure to not touch any environment variables. It should just work out of the box without editing any environmental variables |
Beta Was this translation helpful? Give feedback.
-
Also I hope you don't have |
Beta Was this translation helpful? Give feedback.
-
Running (intel) MacOS Venture 13.2.1
I'm running into a path issue with NEURON probably related to older installations. I'm getting 'dlopen fail' when running my 'make test', but it's also looking in the wrong location.
dlopen failed -
dlopen(/Users/dylandaniels/Documents/github-repos/hnn-core/hnn_core/mod/x86_64/.libs/libnrnmech.0.so, 0x0002): Library not loaded: /Applications/NEURON-7.7/nrn/x86_64/lib/libnrnoc.0.dylib
Referenced from: <959875B6-5E4B-374A-8C93-23C300F47E54> /Users/dylandaniels/Documents/github-repos/hnn-core/hnn_core/mod/x86_64/.libs/libnrnmech.0.so
Reason: tried: '/Applications/NEURON-7.7/nrn/x86_64/lib/libnrnoc.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/NEURON-7.7/nrn/x86_64/lib/libnrnoc.0.dylib' (no such file), '/Applications/NEURON-7.7/nrn/x86_64/lib/libnrnoc.0.dylib' (no such file), '/usr/local/lib/libnrnoc.0.dylib' (no such file), '/usr/lib/libnrnoc.0.dylib' (no such file, not in dyld cache)
I had everything working before trying to install the editable version of core, though in notebook I had to run sys.path.insert(0, '/usr/local/nrn/lib/python/') to get it to work (and also had to remove 'DISPLAY' from os.environ or i'd get a 'can't open DISPLAY' error from neruon)
Beta Was this translation helpful? Give feedback.
All reactions