Changes for page 02. Installing PyNN - Linux
Last modified by adavison on 2022/10/04 13:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -180,15 +180,39 @@ 180 180 (% class="box warningmessage" %) 181 181 ((( 182 182 **Note:** 183 -\\I find that I receive a "no module named nest" error, when trying th eaboveright after installing NEST. But it succeeds after a restart. So if you do observe an error., close all programs and restart your computer, and try again. This time it should execute as expected.183 +\\I find that I receive a "no module named nest" error, when trying this right after installing NEST. But it succeeds after a restart. So if you do observe an error, close all programs and restart your computer, and try again. This time it should execute as expected. 184 184 ))) 185 185 186 186 If there are no error messages here, and the import is successful, then we have completed installing NEST simulator, and are able to load it on Python. 187 187 188 -We next move on to the third simulat ion, NEURON. The installation for NEURONisabitmore involved.188 +We next move on to the third simulator, NEURON. The installation for NEURON used to be more involved previously, but can now be easily completed using the 'pip' command: 189 189 190 -<< add more >> 190 +(% class="box infomessage" %) 191 +((( 192 +**Screencast** - terminal 193 +\\(% style="color:#000000" %)pip install neuron 194 +))) 191 191 196 +This installs the NEURON simulator on your system. To confirm that we have properly installed NEURON, we can test as follows: 197 + 198 +(% class="box infomessage" %) 199 +((( 200 +**Screencast** - terminal 201 +\\(% style="color:#000000" %)nrngui 202 +))) 203 + 204 +This will display the NEURON banner, which mentions the version amongst other info. Here, as we can see, we have now installed NEURON v8.0.0 on our system. Let us next verify that this is indeed accessible via Python. 205 + 206 +(% class="box infomessage" %) 207 +((( 208 +**Screencast** - terminal 209 +\\(% style="color:#000000" %)python3 210 +\\from neuron import h 211 +\\exit() 212 +))) 213 + 214 + 215 + 192 192 (% class="box successmessage" %) 193 193 ((( 194 194 **Slide** recap of learning objectives