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
-
... ... @@ -77,6 +77,14 @@ 77 77 78 78 Next we shall create a virtual environment within this directory. Python 3 provides intrinsic support for creating virtual environments. Since Python 3.6, the recommended method of creating a new virtual environment is as follows: 79 79 80 +(% class="box errormessage" %) 81 +((( 82 +**Note:** 83 +For older versions of Python 3, you might require to manually install `python3-venv` package before being able to run the below command. To install, run: 84 +\\sudo apt-get install python3-venv 85 +\\More recent versions of Python 3 (e.g. v3.9) already have this pre-installed. 86 +))) 87 + 80 80 (% class="box infomessage" %) 81 81 ((( 82 82 **Screencast** - terminal ... ... @@ -113,7 +113,7 @@ 113 113 \\(% style="color:#000000" %)pip install brian2 114 114 ))) 115 115 116 -This will install Brian2, along with all its dependencies such as 'cython', 'numpy', etc. We can now go back into our virtual environment's 'site-packages' directory to see how it is now populated with all these packages. 124 +This will install Brian2, along with all its dependencies such as 'cython', 'numpy', etc. We can now go back into our virtual environment's 'site-packages' directory to see how it is now populated with all these packages. 117 117 118 118 (% class="box infomessage" %) 119 119 (((