Changes for page 02. Installing PyNN - Linux
Last modified by adavison on 2022/10/04 13:53
From version 40.1
edited by annedevismes
on 2021/10/19 08:44
on 2021/10/19 08:44
Change comment:
There is no comment for this version
To version 43.1
edited by annedevismes
on 2021/10/19 09:10
on 2021/10/19 09:10
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -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 2simulators, 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.40 +In this tutorial, I will guide you through setting up PyNN, together with the Brian 2, NEST, and NEURON, and 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. 41 41 42 42 (% class="box successmessage" %) 43 43 ((( ... ... @@ -69,7 +69,7 @@ 69 69 cd pynn_project 70 70 ))) 71 71 72 -Next, we will create a virtual environment within this directory. Python 3 provides support for creating virtual environments. Since Python 3.6, the recommended method to createa new virtual environment is as follows.72 +Next, we will create a virtual environment within this directory. Python 3 provides support for creating virtual environments. Since Python 3.6, the recommended method for creating a new virtual environment is as follows. 73 73 74 74 (% class="box errormessage" %) 75 75 ((( ... ... @@ -123,7 +123,7 @@ 123 123 You might be required to run the above command every time you open a new terminal window. Check that the terminal command prompt indicates the name of your virtual environment to confirm that you have indeed activated it. 124 124 ))) 125 125 126 -Now that we have our project's virtual environment setup, we are ready to install PyNN and other simulators. In general, it is advisable to install the various simulators (especially NEURON and NEST) prior to installing PyNN, because PyNN will then auto compile NEURON's NMODL fles and NEST's extensions during installation. In this tutorial, we will adopt this approach and begin by installing the simulators. For the purposes of this tutorial, we will demonstrate the installation of Brian2, NE URON, and NESTsimulators.126 +Now that we have our project's virtual environment setup, we are ready to install PyNN and other simulators. In general, it is advisable to install the various simulators (especially NEURON and NEST) prior to installing PyNN, because PyNN will then auto compile NEURON's NMODL fles and NEST's extensions during installation. In this tutorial, we will adopt this approach and begin by installing the simulators. For the purposes of this tutorial, we will demonstrate the installation of Brian2, NEST, and NEURON simulators. 127 127 128 128 (% class="box errormessage" %) 129 129 ((( ... ... @@ -168,7 +168,7 @@ 168 168 169 169 We will 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. 170 170 171 -At the time of creating this tutorial, the latest version of NEST is v3.1. This is currently supported by PyNN v0.10, and it is likely that other versions of NEST willpotentiallybeincompatible with this 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.171 +At the time of creating this tutorial, the latest version of NEST is v3.1. This is currently supported by PyNN v0.10, and it is likely that other versions of NEST are potentially incompatible with this 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. 172 172 173 173 (% class="box infomessage" %) 174 174 ((( ... ... @@ -186,7 +186,7 @@ 186 186 \\(% style="color:#000000" %)nest 187 187 ))) 188 188 189 -This will display the NEST banner, which mentions the version amongst other info. Here, as we can see, we have now installed NEST v3.1 on our system. Letus next verify that this is indeed accessible via Python.189 +This will display the NEST banner, which mentions the version amongst other info. Here, as we can see, we have now installed NEST v3.1 on our system. Next, let's verify that this is indeed accessible via Python. 190 190 191 191 (% class="box infomessage" %) 192 192 (((