-
I get the following error trying to install keymap-drawer via pipx in a Docker container. In the container, I manually installed
But Any ideas? I want to get this installed before before trying building from source for the merged but not yet released zmk_additional_includes. I was thinking of manually running keymap-drawer on the host system instead, but I'm using zmk-helpers (see PR above) and the west toolchain to build ZMK firmware pulls it from the container for building so I don't actually need a local copy of zmk-helpers (only my zmk-config which is mounted as a Docker volume for the container). If I were to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It looks like the problem is Python version, your container has 3.8 and KD requires 3.10. But the image is derived from Ubuntu Noble https://github.com/zmkfirmware/zmk-docker/blob/3.5-branch/Dockerfile#L1 and that seems to have 3.12 for Does anything change if you spin up a fresh container from the same Dockerfile?
Can you not mount the project folder (that will contain a copy of |
Beta Was this translation helpful? Give feedback.
-
As an FYI, once you get pipx install keymap-drawer@git+https://github.com/caksoylar/keymap-drawer.git |
Beta Was this translation helpful? Give feedback.
I tried installing myself and checking things out. The issue is the
stable
tag of the image is still Ubuntu 20.04, so it only has Python 3.8.If you use
docker.io/zmkfirmware/zmk-build-arm:3.5-branch
instead, it will use the latest zmk-docker image with Ubuntu 24.04 and that comes with Python 3.12 already with thepython3
command. I don't think you should worry about using the updated image either, ZMK builds should continue to work fine with it.