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
-
... ... @@ -147,10 +147,11 @@ 147 147 148 148 If there are no error messages here, and the import is successful, then we have completed installing Brian 2. 149 149 150 -We shall now move on to install the NEST simulator. Unlike Brian 2, NEST is not a Python package and therefore it cannot be installed via the 'pip' command. 151 151 152 - Atthetime of creatingthisutorial,thelastest version ofNESTisv3.1. This is currently supported by PyNN v0.10,and it islikelythat otherversionsofNESTcouldpotentiallybe incompatiblewiththis version ofPyNN. The installation isdoneby firstadding thePPA repositoryforNESTandpdatingapt,followedbytheinstallationofNESTitself.151 +We shall now move on to install the NEST simulator. Unlike Brian 2, NEST is not a Python package and therefore its installation is a bit more involved. We shall install the NEST module along with PyNEST, which is a Python interface for controlling the NEST kernel. 153 153 153 +We first install the NEST module. At the time of creating this tutorial, the lastest version of NEST is 3.1. This is supported by is currently supported by PyNN, and it is likely that other versions of NEST might have issues when used with the current version of PyNN. The installation is done by first adding the PPA repository for NEST and updating apt, followed by the installation of NEST itself. 154 + 154 154 (% class="box infomessage" %) 155 155 ((( 156 156 **Screencast** - terminal ... ... @@ -159,22 +159,10 @@ 159 159 \\sudo apt-get install nest 160 160 ))) 161 161 162 - This installsthe NEST modulealongwithPyNEST, which isa Pythoninterface for controllingthe NEST kernel. This allows ustouseNESTvia Python. Toconfirmthat we have properly installed Brian 2on our computer, wecantestasfollows:163 +At this point, we have installed the NEST module, but it is still not usable via Python. To do so, we next install PyNEST. 163 163 164 -(% class="box infomessage" %) 165 -((( 166 -**Screencast** - terminal 167 -\\(% style="color:#000000" %)python3 168 -\\import nest 169 -\\exit() 170 -))) 171 171 172 -If there are no error messages here, and the import is successful, then we have completed installing NEST simulator. 173 173 174 -We next move on to the third simulation, NEURON. The installation for NEURON is a bit more involved. 175 - 176 -<< add more >> 177 - 178 178 (% class="box successmessage" %) 179 179 ((( 180 180 **Slide** recap of learning objectives