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
-
... ... @@ -69,22 +69,24 @@ 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.72 +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 -(% class="box errormessage" %)74 +(% class="box infomessage" %) 75 75 ((( 76 -** Note**76 +**Screencast** - terminal 77 77 78 - 79 -For older versions of Python 3, you might be required to manually install `python3-venv` package before being able to run the below command. To install, run: 80 -\\sudo apt-get install python3-venv 81 -\\More recent versions of Python 3 (e.g., v3.9) already have this pre-installed. 78 +(% style="color:#000000" %) 79 +sudo apt-get install python3-venv 82 82 ))) 83 83 82 +And once this is installed, we can create a new virtual environment as follows. We name this 83 + 84 84 (% class="box infomessage" %) 85 85 ((( 86 86 **Screencast** - terminal 87 -\\(% style="color:#000000" %)python3 -m venv pynn_env 87 + 88 +(% style="color:#000000" %) 89 +python3 -m venv pynn_env 88 88 ))) 89 89 90 90 (% class="box warningmessage" %)