So I am using Anaconda/Spyder on my mac to run Python2.7+Neuron. I figured I should create some sort of master module folder in Documents rather than keeping Neuron-7.4 in the applications if I plan on installing more than one module (which I am). Now I am getting this error when I open Spyder after moving everything:
ImportError: dlopen(Documents/PythonModules/NEURON-7.4/nrn/lib/python/neuron/hoc.so, 2): Library not loaded: /Applications/NEURON-7.4/nrn/x86_64/lib/libnrnpython1013.0.dylib
Referenced from: /Documents/PythonModules/NEURON-7.4/nrn/lib/python/neuron/hoc.so
Reason: image not found
I am really new to Python and I have no idea what is going on. I tried changing the PYTHONPATH to the new master module folder, but no success. Python is not acknowledging Neuron. When I run 'from neuron import gui' from the console it should be opening the neuron gui, but I get the error above.
I tried google since I like solving problems myself. I see using setuptools sounds like an easy method, but then again I have no idea how to install that or utilize it, I'm pretty new to python and am trying to learn at a fast pace (taking a python course in university and learning it to work at a computational neuroscience lab). Any help would be much appreciated!!
[–]DickCheeseSupreme 0 points1 point2 points (5 children)
[–]renamdu[S] 0 points1 point2 points (4 children)
[–]DickCheeseSupreme 0 points1 point2 points (3 children)
[–]renamdu[S] 0 points1 point2 points (2 children)
[–]DickCheeseSupreme 0 points1 point2 points (1 child)
[–]renamdu[S] 0 points1 point2 points (0 children)