Skip to content

DietPi-Software | Install all Python software options into venvs #7859

@miloit

Description

@miloit

Describe the bug

When installing Mopidy via DietPi-Software, the installation fails with an error related to pip:

Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 25.1.1
error: uninstall-no-record-file

× Cannot uninstall pip 25.1.1
╰─> The package's contents are unknown: no RECORD file was found for pip.

hint: The package was installed by Debian. You should check if it can uninstall the package.
[FAILED] DietPi-Software | python3 get-pip.py

Steps to reproduce

  1. Run DietPi-Software on a fresh DietPi install.
  2. Attempt to install Mopidy.
  3. Observe the error above.

Expected behavior

Mopidy should install correctly without attempting to uninstall the system pip package, respecting the Debian-provided pip installation.

Actual behavior

DietPi attempts to uninstall the system pip using get-pip.py, which fails because Debian pip has no RECORD file.

System information

DietPi version: latest

Reference code: 27b12307-94fd-435d-a727-00f0f85c2fab

The issue seems related to DietPi calling get-pip.py unnecessarily when pip is already installed via Debian packages.

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions