Last modified by adavison on 2022/10/04 13:53

From version 32.2
edited by shailesh
on 2021/10/11 10:39
Change comment: There is no comment for this version
To version 27.19
edited by shailesh
on 2021/10/08 15:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -02. Installing PyNN - Linux
1 +02. Installing PyNN
Content
... ... @@ -1,6 +1,12 @@
1 +(% class="box warningmessage" %)
2 +(((
3 +tutorials under development for Linux, Mac OS, Windows, Jupyter Lab.
4 +)))
5 +
6 +
1 1  == Learning objectives ==
2 2  
3 -In this tutorial, you will learn how to install PyNN, together with the NEST, NEURON and Brian 2 simulators, on Linux.
9 +In this tutorial, you will learn how to install PyNN, together with the NEST, NEURON and Brian 2 simulators, on Linux / Mac OS / Windows / in EBRAINS Jupyter Lab.
4 4  
5 5  (% class="box infomessage" %)
6 6  (((
... ... @@ -37,7 +37,7 @@
37 37  **Slide** listing learning objectives
38 38  )))
39 39  
40 -In this tutorial, I will guide you through setting up PyNN, together with the NEST, NEURON and Brian 2 simulators, on a Linux  environment. Note that we have a dedicated version of this tutorial for other environments, such as Mac OS, Windows and EBRAINS Jupyter Lab.
46 +In this tutorial, I will guide you through setting up PyNN, together with the NEST, NEURON and Brian 2 simulators, in a Linux  environment. Note that we have a dedicated version of this tutorial for other environments, such as Mac OS, Windows and EBRAINS Jupyter Lab.
41 41  
42 42  (% class="box successmessage" %)
43 43  (((
... ... @@ -231,53 +231,12 @@
231 231  (% class="box infomessage" %)
232 232  (((
233 233  **Screencast** - terminal
234 -\\(% style="color:#000000" %)pip install pyNN
240 +\\(% style="color:#000000" %)pip install PyNN
235 235  )))
236 236  
237 -(% class="box warningmessage" %)
238 -(((
239 -**Note:**
240 -\\Note that PyNN project is spelt with a captial P, small y, and two captital N. But the Python module, as seen here, is spelt starting with a small P. This is in line with general Python convention, where package names start with small alphabets.
241 -)))
242 -
243 243  To verify that PyNN has been successfully installed on our system, and that it is indeed able to communicate with the other simulators that we installed earlier, we can try running:
244 244  
245 -(% class="box infomessage" %)
246 -(((
247 -**Screencast** - terminal
248 248  
249 -(% style="color:#000000" %)python
250 -\\import pyNN.brian2 as sim
251 -
252 -(% style="color:#000000" %)sim.setup()
253 -
254 -(% style="color:#000000" %)sim.end()
255 -)))
256 -
257 -This confirms that PyNN has been properly setup, and also that is able to employ Brian 2. To verify similary test that PyNN is also able to communicate with NEURON and NEST simulators:
258 -
259 -(% class="box infomessage" %)
260 -(((
261 -**Screencast** - terminal
262 -
263 -(% style="color:#000000" %)python
264 -\\import pyNN.nest as sim
265 -
266 -(% style="color:#000000" %)sim.setup()
267 -
268 -(% style="color:#000000" %)sim.end()
269 -
270 -
271 -
272 -(% style="color:#000000" %)import pyNN.neuron as sim
273 -
274 -(% style="color:#000000" %)sim.setup()
275 -
276 -(% style="color:#000000" %)sim.end()
277 -)))
278 -
279 -This confirms that all the required software packages have been successfully completed, and are functioning as expected.
280 -
281 281  (% class="box successmessage" %)
282 282  (((
283 283  **Slide** recap of learning objectives