---
# System prepended metadata

title: DeviceTalk Python

---

# DeviceTalk Python 

## Running on Linux

### Unzip SA code
Please change the word inside `<>`
```bash=
  $  cd <Your download directory>
  $  unzip <device_name>.zip
  $  cd <device_name>
```

### Environment setup
* System Requirement
    * make
    * python3, pip3 and [virtualenv](https://pypi.org/project/virtualenv/)
* Using [Python Virtual Environment](https://docs.python.org/3/tutorial/venv.html) (recommend)

```bash=
  $  python3 -m venv /path/to/venv/dir       # create venv
  $  source /path/to/venv/dir/bin/activate   # activate venv
```

### Install dependencies

```bash=
  $ make pip_setup
```

### Run Code
```bash=
  $  make run
```

* If you want to run with sudo, please use

```bash=
  $  make run_sudo
```