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
-
... ... @@ -96,7 +96,7 @@ 96 96 (% class="box infomessage" %) 97 97 ((( 98 98 **Screencast** - file explorer 99 -\\(% style="color:#000000" %)<< show directory contents; especially lib/python3. 8/site-packages >>99 +\\(% style="color:#000000" %)<< show directory contents; especially lib/python3.9/site-packages >> 100 100 ))) 101 101 102 102 As you see here, only a limited number of basic packages have currently been installed in this virtual environment. In the steps ahead, we shall install various other packages, and you shall see that these would be reflected here. ... ... @@ -139,7 +139,7 @@ 139 139 (% class="box infomessage" %) 140 140 ((( 141 141 **Screencast** - file explorer 142 -\\(% style="color:#000000" %)<< show directory contents lib/python3. 8/site-packages >>142 +\\(% style="color:#000000" %)<< show directory contents lib/python3.9/site-packages >> 143 143 ))) 144 144 145 145 To confirm that we have properly installed Brian 2 on our computer, we can test as follows: ... ... @@ -211,8 +211,7 @@ 211 211 (% class="box infomessage" %) 212 212 ((( 213 213 **Screencast** - terminal 214 -\\(% style="color:#000000" %)nrniv 215 -\\quit() 214 +\\(% style="color:#000000" %)nrngui 216 216 ))) 217 217 218 218 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. ... ... @@ -238,7 +238,7 @@ 238 238 (% class="box warningmessage" %) 239 239 ((( 240 240 **Note:** 241 -\\Note that PyNN project is spelt with a captial P, small y, and two captital N. The pip command is case-insensitive, so you may write it differently here. But the Python module, as we shall see ahead, is case-sensitive and is spelt starting with a small P. This is in line with general Python convention, whereby package names start with small alphabets.Thus, while importing PyNN module via Python, it needs to be written as 'pyNN'.240 +\\Note that PyNN project is spelt with a captial P, small y, and two captital N. The pip command is case-insensitive, so you may write it differently here. But the Python module, as we shall see ahead, is spelt starting with a small P. This is in line with general Python convention, whereby package names start with small alphabets. 242 242 ))) 243 243 244 244 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: