Install issue: python-dev has no installation candidate

Basic Information:

Printer Model: Creality CR-10
MCU / Printerboard: Creality CR-10
Host / SBC: RPi 3b 1.2

Describe your issue:

When installing klipper, the install-octopi.sh script fails with

pi@octopi:~ $ ./klipper/scripts/install-octopi.sh


###### Running apt-get update...
Hit:1 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
Hit:2 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done
W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.


###### Installing packages...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0'
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-dev-is-python3

E: Package 'python-dev' has no installation candidate

I have tried updating and restarting. The machine has a fresh install of octoprint. The only plugin that has been added is the autologin plugin.

What should I do to fix this issue?

Hi @spoolpin ,

install-octopi.sh is an older install script. Have you tried using KIAUH? I would flash the Pi with RPi OS Lite (64-bit) and install Klipper with KIAUH. Mainsail and Fluidd are the interfaces of choice for Klipper, but you can use OctoPrint if you want, but I would install that after Klipper.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.