Last modified by adavison on 2022/10/04 13:53

From version 55.1
edited by shailesh
on 2022/01/31 15:56
Change comment: There is no comment for this version
To version 57.1
edited by shailesh
on 2022/01/31 16:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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. Since Python 3.6, the recommended method for creating a new virtual 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 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
80 +)))
81 +
82 +And once this is installed, we can create a new virtual environment as follows. We name this
83 +
84 +(% class="box infomessage" %)
85 +(((
86 +**Screencast** - terminal
87 +
88 +(% style="color:#000000" %)
80 80  python3 -m venv pynn_env
81 81  )))
82 82