> For the complete documentation index, see [llms.txt](https://easy-draw.joemazzone.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easy-draw.joemazzone.net/python/setup-and-install.md).

# Setup and Install

Easy Draw is not on PyPI just yet, so you cannot `pip` install it. To use it you will need the `easy_draw.py` file which can be found and downloaded from GitHub.

{% embed url="<https://github.com/MrMazzone/easy-draw/releases/download/v2.0.0/easy_draw.py>" %}

## Easy Draw File

Once you have the `easy_draw.py` file, you can include it in your project directory (the same folder as your project files).

![](https://651142499-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRAMSGwqRIdQ2ADsTkz%2F-MRFmaFsbu67ASjbyQ_S%2F-MRH8gFD6FLTalSQhtIW%2Fimage.png?alt=media\&token=588cea85-1478-46c9-a388-b3063b22170e)

## Dependencies

None! Easy Draw only uses the Python standard library, so there is nothing else to install.

You do need a web browser. Easy Draw shows your drawing in your web browser instead of in a separate window. When your program runs, Easy Draw:

1. Writes your drawing to an `index.html` file in the same folder as your program.
2. Opens the live drawing in your web browser (<http://localhost:8765/>).

See the [Starter Template](https://easy-draw.joemazzone.net/python/starter-template.md) to write your first program.

{% hint style="info" %}
**Upgrading from version 1?** Your programs should work without any changes. See [What's New in 2.0](https://easy-draw.joemazzone.net/python/whats-new-in-2.0.md) for everything that changed.
{% endhint %}

## Desktop Version

The original Tkinter window version of Easy Draw is still available as `easy_draw_desktop.py`.

{% embed url="<https://github.com/MrMazzone/easy-draw/releases/download/v2.0.0/easy_draw_desktop.py>" %}

It needs `Tkinter` and `PIL` (Pillow) installed. Use it in place of `easy_draw.py` like this:

```python
import easy_draw_desktop as easy_draw
```

If you get an error like `ImportError: No module named tkinter`, you may need to install Tkinter on your system: <https://tkdocs.com/tutorial/install.html>

If you get an error like `ImportError: No module named PIL`, you may need to install Pillow: <https://pillow.readthedocs.io/en/stable/installation.html>
