我想安装一个依赖于python 3.4的deb软件包,但是安装程序认为我只有3.2,因为这样apt-cache
说,然后dpkg-query
返回python3 3.2.3-0ubuntu1.2
。update-alternatives
似乎没有削减。我能做些什么?
在12.04中有可用的python3.4软件包将不是您唯一的问题。
查看Debian控制文件:
Package: python3-tesseract
Source: python-tesseract
Version: 0.9-0.4ubuntu0
Architecture: amd64
Maintainer: FreeToGo <[email protected]>
Installed-Size: 4261
Depends: python3 (>= 3.4~), python3 (<< 3.5), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), liblept4, libstdc++6 (>= 4.1.1), libtesseract3
Section: python
Priority: optional
Homepage: http://code.google.com/p/python-tesseract/
Description: Tesseract for Python3
Python-tesseract is a wrapper class for Tesseract OCR
that allows any conventional image files (JPG, GIF, PNG,
TIFF and etc) to be read and decoded into readable
languages. No temporary file will be created during the
OCR processing.
python3-tesseract
(和python-tesseract
)取决于liblept4,后者仅在14.04+版本中可用。
我的建议是设置14.04 VM或将系统升级到14.04以正确安装python3-tesseract
。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句