Skip to content

Duplicate package wheel in the install script/instructions #208

@mnotgninnep

Description

@mnotgninnep

Describe the bug
The install script moans it can't install a newer version of wheel with pip because it's already been installed with apt.
Might also want to change python3-pillow to python3-pil per the output below.

sudo apt install -y git python3-pip cython3 build-essential python3-dev python3-pillow scons
...
Note, selecting 'python3-pil' instead of 'python3-pillow'
...
Installing:
  cython3  git  python3-dev  python3-pil  python3-pip  scons

Installing dependencies:
  git-man            libfreetype6    libimagequant0    liblcms2-2         libraqm0         python3-packaging
  javascript-common  libfribidi0     libjs-jquery      libopenjp2-7       libwebpdemux2    python3-wheel
  liberror-perl      libgraphite2-3  libjs-sphinxdoc   libpython3-dev     libwebpmux3      python3.13-dev
  libexpat1-dev      libharfbuzz0b   libjs-underscore  libpython3.13-dev  python3-olefile  zlib1g-dev
...
Get:29 http://deb.debian.org/debian trixie/main arm64 python3-wheel all 0.46.1-2 [21.7 kB]
...
Setting up python3-wheel (0.46.1-2) ...
...
Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (0.46.1)
Collecting wheel
  Downloading wheel-0.46.3-py3-none-any.whl.metadata (2.4 kB)
Requirement already satisfied: packaging>=24.0 in /usr/lib/python3/dist-packages (from wheel) (25.0)
Downloading setuptools-80.10.1-py3-none-any.whl (1.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 5.6 MB/s eta 0:00:00
Downloading wheel-0.46.3-py3-none-any.whl (30 kB)
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: wheel
    Found existing installation: wheel 0.46.1
error: uninstall-no-record-file

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

hint: The package was installed by debian. You should check if it can uninstall the package.

⚠ Warning: Failed to upgrade pip/setuptools/wheel, continuing anyway...

To Reproduce
Steps to reproduce the behavior:

  1. Install with either the one shot script or the manual install instructions. In this case above, manual install.

Expected behavior
If wheel is installed and this version is sufficient, it shouldn't try to install again. If a new version is needed, perhaps removed the system version or use venv if you're not already?

Desktop (please complete the following information):

  • OS: Raspbian Lite 64-bit Trixie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions