ChrisRomp / hamclock-docker

A Dockerized version of HamClock by Elwood Downey WBØOEW.
MIT License
15 stars 3 forks source link

Help with module not found error No module named distutils #21

Closed philipkf closed 2 weeks ago

philipkf commented 3 weeks ago

I am new to linux and do not have the skills to know how to try and come up with a solution when I face an error and not sure how to proceed. I have been playing with an Ubuntu 24.04 server, I am using this server to run Incus containers of which I have several running. A few of them also have docker running in the container and I have been successful in getting docker images to run fine inside these containers.
I have followed your steps to clone the hamclock file and add the docker-compose.yml file. When I run the docker-compose up -d command, I get the error for no module named distutils. From what I understand this is a python 3.12 issue.
Since I am just getting going in linux, this is above my head in how to get past this error.
Any help would be great. Phil Forrest AG5EY

ChrisRomp commented 3 weeks ago

Are you able to run any other docker containers using docker-compose?

Something like:

services:
  hello_world:
    image: hello-world

If using Linux:

cat << EOF > docker-compose.yaml && docker-compose up
services:
  hello_world:
    image: hello-world
EOF

Expected output:

Starting docker-hello_hello_world_1 ... done
Attaching to docker-hello_hello_world_1
hello_world_1  |
hello_world_1  | Hello from Docker!
hello_world_1  | This message shows that your installation appears to be working correctly.
hello_world_1  |
hello_world_1  | To generate this message, Docker took the following steps:
hello_world_1  |  1. The Docker client contacted the Docker daemon.
hello_world_1  |  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
hello_world_1  |     (amd64)
hello_world_1  |  3. The Docker daemon created a new container from that image which runs the
hello_world_1  |     executable that produces the output you are currently reading.
hello_world_1  |  4. The Docker daemon streamed that output to the Docker client, which sent it
hello_world_1  |     to your terminal.
hello_world_1  |
hello_world_1  | To try something more ambitious, you can run an Ubuntu container with:
hello_world_1  |  $ docker run -it ubuntu bash
hello_world_1  |
hello_world_1  | Share images, automate workflows, and more with a free Docker ID:
hello_world_1  |  https://hub.docker.com/
hello_world_1  |
hello_world_1  | For more examples and ideas, visit:
hello_world_1  |  https://docs.docker.com/get-started/
hello_world_1  |
docker-hello_hello_world_1 exited with code 0
ChrisRomp commented 2 weeks ago

Closing due to lack of activity. Feel free to reopen.