Skip to main content
Bumped by Community user
Code formatting and fixed minor typos
Source Link
Greenonline
  • 2.8k
  • 5
  • 24
  • 36

Package 'libpng12-dev' won't install? Trying to setup Open_CVOpenCV for Object Detectionobject detection

ImI'm trying to setup Open-CVOpenCV for Object Detectionobject detection on my raspberryRaspberry Pi 3 model B. I'm using the 32-bit Legacy OS, as it's recommended for this application. 

When running the command 'sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev'

sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev

the terminal installs the first 3three packages without a problem, and then I get an error message for 'libpng12-dev'libpng12-dev, saying 'E: Package 'libpng12-dev' has no installation candidate'.

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

Package 'libpng12-dev' won't install? Trying to setup Open_CV for Object Detection

Im trying to setup Open-CV for Object Detection on my raspberry Pi 3 model B. I'm using the 32-bit Legacy OS, as it's recommended for this application. When running the command 'sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev' the terminal installs the first 3 packages without a problem, and then I get an error message for 'libpng12-dev', saying 'E: Package 'libpng12-dev' has no installation candidate'.

Package 'libpng12-dev' won't install? Trying to setup OpenCV for object detection

I'm trying to setup OpenCV for object detection on my Raspberry Pi 3 model B. I'm using the 32-bit Legacy OS, as it's recommended for this application. 

When running the command

sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev

the terminal installs the first three packages without a problem, and then I get an error message for libpng12-dev, saying

E: Package 'libpng12-dev' has no installation candidate
Source Link

Package 'libpng12-dev' won't install? Trying to setup Open_CV for Object Detection

Im trying to setup Open-CV for Object Detection on my raspberry Pi 3 model B. I'm using the 32-bit Legacy OS, as it's recommended for this application. When running the command 'sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev' the terminal installs the first 3 packages without a problem, and then I get an error message for 'libpng12-dev', saying 'E: Package 'libpng12-dev' has no installation candidate'.