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. shailesh1 +XWiki.adavison - Content
-
... ... @@ -1,3 +1,8 @@ 1 +(% class="box successmessage" %) 2 +((( 3 +Video: [[https:~~/~~/www.youtube.com/watch?v=BZB7xKUK8Vc>>https://www.youtube.com/watch?v=BZB7xKUK8Vc]] 4 +))) 5 + 1 1 == Learning objectives == 2 2 3 3 In this tutorial, you will learn how to install PyNN, together with the Brian 2, NEST and NEURON simulators, on Linux. ... ... @@ -4,7 +4,7 @@ 4 4 5 5 (% class="box infomessage" %) 6 6 ((( 7 -Note: Therewill bea separatetutorial foreach environment.12 +Note: We are preparing tutorials for Windows and Mac OS 8 8 ))) 9 9 10 10 == Audience == ... ... @@ -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. SincePython 3.6,the recommendedmethodforcreatinganewvirtual environment is as follows.77 +Next, we will create a virtual environment within this directory. Python 3 provides support for creating virtual environments. To use this, we first install the package named 'python3-venv': 73 73 74 74 (% class="box infomessage" %) 75 75 ((( ... ... @@ -77,6 +77,15 @@ 77 77 78 78 (% style="color:#000000" %) 79 79 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" %) 80 80 python3 -m venv pynn_env 81 81 ))) 82 82