Warning:  Due to planned infrastructure maintenance, the EBRAINS Wiki and EBRAINS Support system will be unavailable for up to three days starting Monday, 14 July. During this period, both services will be inaccessible, and any emails sent to the support address will not be received.

Attention: We are currently experiencing some issues with the EBRAINS Drive. Please bear with us as we fix this issue. We apologise for any inconvenience caused.


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 54.1
edited by shailesh
on 2022/01/31 15:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -71,13 +71,20 @@
71 71  
72 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.
73 73  
74 +(% class="box errormessage" %)
75 +(((
76 +**Note**
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.
82 +)))
83 +
74 74  (% class="box infomessage" %)
75 75  (((
76 76  **Screencast** - terminal
77 -
78 -(% style="color:#000000" %)
79 -sudo apt-get install python3-venv
80 -python3 -m venv pynn_env
87 +\\(% style="color:#000000" %)python3 -m venv pynn_env
81 81  )))
82 82  
83 83  (% class="box warningmessage" %)