> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pamir.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Development

> Installations

<Info>
  **Prerequisite** example run on Python 3.11.2
</Info>

### Python SDK

To start work on your distiller apps, fork/clone repo here [https://github.com/Pamir-AI/DistillerSDK](https://github.com/Pamir-AI/DistillerSDK)

We suggest to use venv (we preinstall all of them on the device at this default path /home/distiller/DistillerSDK/venv)

```bash theme={null}
python3 -m venv --system-site-packages venv
source venv/bin/activate
pip install -e .[hardware]
```

### Distiller Linux Image

you can download the image from here [https://drive.google.com/file/d/1qnI5S7i6O8VJkx\_LLNRER4jJG\_aJ0pjO/view?usp=sharing](https://drive.google.com/file/d/1qnI5S7i6O8VJkx_LLNRER4jJG_aJ0pjO/view?usp=sharing)
This is a pre-built image with all the dependencies installed on a Raspberry Pi OS 6.6.31+rpt-rpi-v8.

### Troubleshooting

You might run into issue like *libcamera* or *pykms* missing from venv, this is due to they are installed into default python3 path.

```bash theme={null}
cp -r /usr/lib/python3/dist-packages/libcamera venv/lib/python3.11/site-packages/
cp -r /usr/lib/python3/dist-packages/pykms venv/lib/python3.11/site-packages/
```
