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
-
... ... @@ -56,7 +56,7 @@ 56 56 **Slide** listing prerequisites 57 57 ))) 58 58 59 -I shall be demonstrating the installation on a computer with Ubuntu 18.04 OS installed. The steps are likely to remain very similar for other versions of Ubuntu OS, and also not expected to vary significantly for other Linux distributions. In the latter case, you will find on the Internet about how to carry out the equivalent of the tasks demonstrated here using Ubuntu OS. Also, the tutorial will focus only on Python 3, as Python 2 has now been deprecated. It is recommended to use Python version 3.6 or higher. I would be using Python 3.9.7 in this tutorial.59 +I shall be demonstrating the installation on a computer with Ubuntu 20.04 OS installed. The steps are likely to remain very similar for other versions of Ubuntu OS, and also not expected to vary significantly for other Linux distributions. In the latter case, you will find on the Internet about how to carry out the equivalent of the tasks demonstrated here using Ubuntu OS. Also, the tutorial will focus only on Python 3, as Python 2 has now been deprecated. It is recommended to use Python version 3.6 or higher. I would be using Python 3.9.7 in this tutorial. 60 60 61 61 (% class="box infomessage" %) 62 62 ((( ... ... @@ -88,7 +88,7 @@ 88 88 (% class="box infomessage" %) 89 89 ((( 90 90 **Screencast** - terminal 91 -\\(% style="color:#000000" %)python -m venv pynn_env 91 +\\(% style="color:#000000" %)python3 -m venv pynn_env 92 92 ))) 93 93 94 94 This will create a sub-directory named 'pynn_env' within our project directory, with several files and sub-directories. Let us take a look at the 'site-packages' directory. ... ... @@ -121,7 +121,7 @@ 121 121 \\(% style="color:#000000" %)pip install brian2 122 122 ))) 123 123 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. 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. 125 125 126 126 (% class="box infomessage" %) 127 127 (((