Skip to content

Fix installation on Ubuntu 24.04+ (PEP 668 and pep8 rename) - #1247

Open
satwikbasu wants to merge 3 commits into
mininet:masterfrom
satwikbasu:fix-install-ubuntu-24
Open

Fix installation on Ubuntu 24.04+ (PEP 668 and pep8 rename)#1247
satwikbasu wants to merge 3 commits into
mininet:masterfrom
satwikbasu:fix-install-ubuntu-24

Conversation

@satwikbasu

@satwikbasu satwikbasu commented Nov 23, 2025

Copy link
Copy Markdown

This PR resolves installation issues on newer Linux distributions (Ubuntu 23.04+, Debian 12+) caused by PEP 668 and package renaming.

Changes:

  • util/install.sh: Added dynamic check for pycodestyle (replaces pep8 on newer systems).
  • util/install.sh: Detects OS version and passes --break-system-packages to pip if required.
  • Makefile & util/install.sh: Updated to pass PIP_OPTIONS to the Makefile so the final core installation step succeeds.

Tested on Ubuntu 24.04.3 LTS. Fixes #1231.

P.S. This is my first open-source contribution ever and I hope it's significant enough to get merged to the master branch soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trouble with installing

1 participant