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

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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -02. Installing PyNN
1 +02. Installing PyNN - Linux
Content
... ... @@ -1,12 +7,6 @@
1 -(% class="box warningmessage" %)
2 -(((
3 -tutorials under development for Linux, Mac OS, Windows, Jupyter Lab.
4 -)))
5 -
6 -
7 7  == Learning objectives ==
8 8  
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.
3 +In this tutorial, you will learn how to install PyNN, together with the NEST, NEURON and Brian 2 simulators, on Linux.
10 10  
11 11  (% class="box infomessage" %)
12 12  (((
... ... @@ -43,7 +43,7 @@
43 43  **Slide** listing learning objectives
44 44  )))
45 45  
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.
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.
47 47  
48 48  (% class="box successmessage" %)
49 49  (((
... ... @@ -237,12 +237,47 @@
237 237  (% class="box infomessage" %)
238 238  (((
239 239  **Screencast** - terminal
240 -\\(% style="color:#000000" %)pip install PyNN
234 +\\(% style="color:#000000" %)pip install pyNN
241 241  )))
242 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  
239 +(% class="box infomessage" %)
240 +(((
241 +**Screencast** - terminal
245 245  
243 +(% style="color:#000000" %)python
244 +\\import pyNN.brian2 as sim
245 +
246 +(% style="color:#000000" %)sim.setup()
247 +
248 +(% style="color:#000000" %)sim.end()
249 +)))
250 +
251 +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:
252 +
253 +(% class="box infomessage" %)
254 +(((
255 +**Screencast** - terminal
256 +
257 +(% style="color:#000000" %)python
258 +\\import pyNN.nest as sim
259 +
260 +(% style="color:#000000" %)sim.setup()
261 +
262 +(% style="color:#000000" %)sim.end()
263 +
264 +
265 +
266 +(% style="color:#000000" %)import pyNN.neuron as sim
267 +
268 +(% style="color:#000000" %)sim.setup()
269 +
270 +(% style="color:#000000" %)sim.end()
271 +)))
272 +
273 +This confirms that all the required software packages have been successfully completed, and are functioning as expected.
274 +
246 246  (% class="box successmessage" %)
247 247  (((
248 248  **Slide** recap of learning objectives