Skip to content

Missing python3-distutils in build setup instructions for Ubuntu 22.04+ / 24.04 #1

@jgooc

Description

@jgooc

Describe the bug

Summary

The build instructions for Morse Micro’s OpenWRT fork recommend installing python3-distutils, but that package is deprecated and unavailable on newer Ubuntu releases (22.04+ and 24.04). This causes build initialization to silently fail or skip important Python components.

Issue

Running the standard dependency install:

sudo apt install build-essential clang flex g++ gawk gcc-multilib git gettext \
  libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev swig



### OpenWrt version

root@EKH01--05US-8f4ccc:~# . /etc/openwrt_release && echo $DISTRIB_REVISION  r20134-5f15225c1e

### OpenWrt target/subtarget

bcm27xx/bcm2711 

### Device

MorseMicro EKH01-05US (Raspberry Pi 4 Model B Rev 1.5)

### Image kind

Official downloaded image

### Steps to reproduce

_No response_

### Actual behaviour

_No response_

### Expected behaviour

_No response_

### Additional info

###  Suggested Change

sudo apt install python3-venv


Big thanks for maintaining the repo — happy to test or PR the doc fix if desired!

— @jgoocher

### Diffconfig

```text

Terms

  • I am reporting an issue for OpenWrt, not an unsupported fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions