我正在尝试在Pi Zero上安装OPENALPR,并且正在使用 https://www.reddit.com/r/raspberry_pi/comments/baxwz5/how_to_install_openalpr_on_raspberry_pi/
运行以下命令后:
sudo apt-get install autoconf automake libtool libleptonica-dev libicu-dev libpango1.0-dev libcairo2-dev cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev virtualenvwrapper liblog4cplus-dev libcurl4-openssl-dev libtiff5-dev libpng12-dev gcc make ca-certificates autoconf-archive
我得到了错误:
The following packages have unmet dependencies:
libpng-dev : Conflicts: libpng12-dev but 1.2.54-6 is to be installed
libpng12-dev : Conflicts: libpng-dev but 1.6.36-6 is to be installed
E: Unable to correct problems, you have held broken packages.
在较小的组中安装软件包(而不是一次全部)可以正常工作,但是在此过程中删除了libpng-dev
如何解决以上不兼容问题? 谢谢