Changes for page 02. Installing PyNN - Linux
Last modified by adavison on 2022/10/04 13:53
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.a davison1 +XWiki.shailesh - Content
-
... ... @@ -1,8 +6,3 @@ 1 -(% class="box successmessage" %) 2 -((( 3 -Video: [[https:~~/~~/www.youtube.com/watch?v=Ui8_I9T0UcU>>https://www.youtube.com/watch?v=Ui8_I9T0UcU]] 4 -))) 5 - 6 6 == Learning objectives == 7 7 8 8 In this tutorial, you will learn how to install PyNN, together with the Brian 2, NEST and NEURON simulators, on Linux. ... ... @@ -74,7 +74,7 @@ 74 74 cd pynn_project 75 75 ))) 76 76 77 -Next, we will create a virtual environment within this directory. Python 3 provides support for creating virtual environments. To use this,wefirst installthepackagenamed'python3-venv':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. 78 78 79 79 (% class="box infomessage" %) 80 80 ((( ... ... @@ -82,15 +82,6 @@ 82 82 83 83 (% style="color:#000000" %) 84 84 sudo apt-get install python3-venv 85 -))) 86 - 87 -And once this is installed, we can create a new virtual environment by typing 'python3', '-m venv' to indicate the name module of the module we just installed, followed by the name we wish to assign to our virtual environment. Here, we have set this to 'pynn_env'. 88 - 89 -(% class="box infomessage" %) 90 -((( 91 -**Screencast** - terminal 92 - 93 -(% style="color:#000000" %) 94 94 python3 -m venv pynn_env 95 95 ))) 96 96