@@ -20,48 +20,54 @@ In order to use the same version of python and other packages, we will set up a
...
@@ -20,48 +20,54 @@ In order to use the same version of python and other packages, we will set up a
### Create the virtual environment called `venv`
### Create the virtual environment called `venv`
Windows:
Windows:
```console
```bash
py -m venv venv
py -m venv venv
```
```
(By problems try `C:\> py -m venv venv`)
(By problems try `C:\> py -m venv venv`)
Mac:
Mac:
```console
```bash
$python3 -m venv venv
python3 -m venv venv
```
```
### Activate the virtual environment venv
### Activate the virtual environment venv
Windows:
Windows:
```console
```bash
venv\Scripts\activate
venv\Scripts\activate
```
```
(By problems try `C:\> venv\Scripts\activate`)
(By problems try `C:\> venv\Scripts\activate`)
Mac:
Mac:
```console
```bash
$source venv/bin/activate
source venv/bin/activate
```
```
### Upgrade packages in venv
### Upgrade packages in venv
```console
```bash
$pip install-U pip setuptools
pip install-U pip setuptools
```
```
If you get an error that looks like this:
```
ERROR: Could not install packages due to an OSError: [WinError 5] Zugriff verweigert: 'C:\\Users\\Lestakova\\AppData\\Local\\Temp\\pip-uninstall-f8cwia31\\pip.exe'mp\\pip-uninstall-f8cwia31\\pip.exe'