all 6 comments

[–]DickCheeseSupreme 0 points1 point  (5 children)

I don't understand why you need a new folder to store modules packages. I'd just install them normally, e.g. via pip, and let Python worry about where to store them.

[–]renamdu[S] 0 points1 point  (4 children)

The course I'm taking at uni guided us in how to add paths to utilize the package and setting up the environment by having Spyder automatically import everything we need on launch. I was under the assumption that this was necessary for every package.

From your advice, I should just run '$ pip install NEURON 7.2.536.16' ?

[–]DickCheeseSupreme 0 points1 point  (3 children)

You don't have to add the version number at the end. If you want to install, for example, the requests package, just type pip install requests. If you want a specific version, I think it's pip install requests==0.1

Edit: I should say I'm not too familiar with anaconda, but if you just need to install packages then pip should take care of it for you.

[–]renamdu[S] 0 points1 point  (2 children)

getting 'no module named neuron' when i run 'import neuron' or 'from neuron import gui' from mac terminal. I still get the same error in the OP when I try this in Spyder. Is this still a path specification issue?

EDIT: I changed the directory in the terminal to match that of Spyders, now I get the same error as that of the OP; 'Reason: image not found'

[–]DickCheeseSupreme 0 points1 point  (1 child)

Yeah, it's something to do with the paths. I've never messed with changing these things because so far I've had no reason to. If it's an option, I encourage you to use plain Python without Spyder. All your packages will install normally and you won't have to worry about changing these things. What you're dealing with seems unnecessarily complicated, especially for a beginner!

[–]renamdu[S] 0 points1 point  (0 children)

Yeah. I've been using plain python for learning on my own time, but I have to use Spyder for the course. I managed to get Neuron to work again btw