archive mirror
 help / color / mirror / Atom feed
From: Ibrahim Erturk <>
Subject: Docker Compose issue regarding the deprecation of Python3 distutils on Kirkstone
Date: Wed, 27 Jul 2022 10:24:32 +0300	[thread overview]
Message-ID: <> (raw)


I added the following line into local.conf to get the packages docker and docker-compose on Rapberry Pi (meta-raspberrypi) with the branch kirkstone.

# Virtualization
DISTRO_FEATURES:append = " virtualization"
IMAGE_INSTALL:append = " docker-ce"
IMAGE_INSTALL:append = " python3-docker-compose”
# IMAGE_INSTALL:append = " python3-distutils"

However, due to python3-distutils deprecated as of Python3.10, I got the following error.

raspberrypi3:~$ docker-compose
Traceback (most recent call last):
 File "/usr/bin/docker-compose", line 5, in <module>
   from compose.cli.main import main
 File "/usr/lib/python3.10/site-packages/compose/cli/", line 9, in <module>
   from distutils.spawn import find_executable
ModuleNotFoundError: No module named ‘distutils’

Is there any workaround regarding this issue or am I missing some configuration?

Thanks in advance.

Ibrahim ERTURK

       reply	other threads:[~2022-07-27  7:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
2022-07-27  7:24 ` Ibrahim Erturk [this message]
2022-07-27 18:19   ` [meta-virtualization] Docker Compose issue regarding the deprecation of Python3 distutils on Kirkstone Bruce Ashfield
2022-07-27 21:34     ` Ibrahim Erturk
2022-07-27 21:42       ` Tim Orling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).