# Pyproject.toml not found when adding Python dependencies

**URL:** <https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520>\
**Category:** Developers\
**Created:** [March 15, 2026, 1:05pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520 "2026-03-15T13:05:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![derkweijers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/derkweijers/32/158340_2.png) [@derkweijers](https://community.homey.app/u/derkweijers)\
**Post date:** [March 15, 2026, 1:05pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520/1 "2026-03-15T13:05:32Z")

</div>

Hello,

I’m trying to develop my first app using the Python SDK. I’d like to install some dependencies, but this unfortunately fails:

```sh
➜ homey app dependencies add requests
Updated app manifest
✓ Executing for arm64 architecture...
Restored app manifest
✖ error: No `pyproject.toml` found in current directory or any parent directory

```

When I created the project using the CLI (v4.0.11) I noticed there was no `pyproject.toml`, so I created this manually with `uv init --bare`. This did not fix the issue unfortunately. The folder layout is:

```sh
-rw-r--r--@ 1 derk staff 1131 15 mrt. 13:53 app.json
-rw-r--r--@ 1 derk staff 602 15 mrt. 13:42 app.py
drwxr-xr-x@ 4 derk staff 128 15 mrt. 07:34 assets
-rw-r--r--@ 1 derk staff 3175 15 mrt. 07:34 CODE_OF_CONDUCT.md
-rw-r--r--@ 1 derk staff 2664 15 mrt. 07:34 CONTRIBUTING.md
drwxr-xr-x@ 2 derk staff 64 15 mrt. 13:56 drivers
-rw-r--r--@ 1 derk staff 35141 15 mrt. 07:34 LICENSE
drwxr-xr-x@ 3 derk staff 96 15 mrt. 07:34 locales
-rw-r--r--@ 1 derk staff 124 15 mrt. 13:34 pyproject.toml
drwxr-xr-x@ 4 derk staff 128 15 mrt. 13:33 python_packages
-rw-r--r--@ 1 derk staff 43 15 mrt. 07:34 README.txt
-rw-r--r--@ 1 derk staff 78231 15 mrt. 13:40 uv.lock

```

What am I doing wrong?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 15, 2026, 1:39pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520/2 "2026-03-15T13:39:37Z")

</div>

After running `homey app create`, you first need to cd to the app directory (the directory name is the ID of your app). If you have already done that, then it’s likely a bug in the Apps SDK or a part that’s missing in the app template. Not sure though since I have no experience with Python.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [March 15, 2026, 1:41pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520/3 "2026-03-15T13:41:49Z")

</div>

Seems to work for me:

```auto
$ homey app dependencies add requests
Updated app manifest
✓ Executing for arm64 architecture...
✓ Executing for amd64 architecture...
✓ Installed dependencies
requests

```

There’s no `pyproject.toml` file inside the project folder, I assume it’s installed in the Docker container though.

---

<div class="post-metadata">

**Author:** ![derkweijers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/derkweijers/32/158340_2.png) [@derkweijers](https://community.homey.app/u/derkweijers)\
**Post date:** [March 15, 2026, 6:35pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520/4 "2026-03-15T18:35:06Z")

</div>

> After running `homey app create`, you first need to cd to the app directory (the directory name is the ID of your app).

Thanks - yeah, that’s where I’m running the command.

> Seems to work for me

Thanks. Looks to be a me-problem then. More debugging it is.

---

<div class="post-metadata">

**Author:** ![derkweijers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/derkweijers/32/158340_2.png) [@derkweijers](https://community.homey.app/u/derkweijers)\
**Post date:** [March 15, 2026, 8:07pm UTC](https://community.homey.app/t/pyproject-toml-not-found-when-adding-python-dependencies/152520/5 "2026-03-15T20:07:19Z")

</div>

Found it! For a few years now, I’ve been running [Colima](https://github.com/abiosoft/colima) as container runtime manager. To rule out if this caused the issue, I switched to Docker Desktop again and it worked instantly.

I’m not sure why Colima doesn’t work, I might look at that later.
