JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.42k stars 3.16k forks source link

build failed on AArch64, Fedora 33 #386

Closed LutzWeischerFujitsu closed 3 years ago

LutzWeischerFujitsu commented 3 years ago

[jw@cn05 easyocr]$ sudo python3 setup.py install --verbose running install running bdist_egg running egg_info writing easyocr.egg-info/PKG-INFO writing dependency_links to easyocr.egg-info/dependency_links.txt writing entry points to easyocr.egg-info/entry_points.txt writing requirements to easyocr.egg-info/requires.txt writing top-level names to easyocr.egg-info/top_level.txt reading manifest file 'easyocr.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'LICENSE.txt' writing manifest file 'easyocr.egg-info/SOURCES.txt' installing library code to build/bdist.linux-aarch64/egg running install_lib running build_py creating build/bdist.linux-aarch64/egg creating build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/init.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/cli.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/config.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/craft.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/craft_utils.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/detection.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/easyocr.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/imgproc.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/recognition.py -> build/bdist.linux-aarch64/egg/easyocr copying build/lib/easyocr/utils.py -> build/bdist.linux-aarch64/egg/easyocr creating build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ab_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/abq_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ady_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/af_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ang_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ar_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/as_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ava_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/az_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/be_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/bg_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/bh_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/bho_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/bn_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/bs_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ch_pin_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ch_sim_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ch_tra_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/che_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/cs_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/cy_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/da_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/dar_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/de_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/en_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/es_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/et_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/fa_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/fr_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ga_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/gom_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/he_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/hi_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/hr_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/hu_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/id_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/inh_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/is_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/it_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ja_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ja_char2.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ja_punc.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/kbd_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/kn.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/kn_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ko_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ku_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/la_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/lbe_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/lez_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/lt_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/lv_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mah_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mai_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mi_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ml_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mn_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mr_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ms_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/mt_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ne_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/new_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/nl_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/no_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/oc_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/pb_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/pi_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/pl_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/pt_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ro_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/rs_cyrillic_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/rs_latin_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ru_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sck_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sk_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sl_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sq_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sv_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/sw_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ta_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/tab_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/te.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/te_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/th_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/tl_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/tr_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ug_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/uk_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/ur_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/uz_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character copying build/lib/easyocr/character/vi_char.txt -> build/bdist.linux-aarch64/egg/easyocr/character creating build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ab.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/af.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ar.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/az.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/be.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/bg.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/bn.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/bs.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ch-pin-syl.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ch_pin.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/cs.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/cy.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/da.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/de.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/en.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/es.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/et.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/fa.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/fr.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ga.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/he.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/hi.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/hr.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/hu.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/id.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/is.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/it.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ja.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/kn.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ko.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ku.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/la.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/lt.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/lv.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/mi.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ml.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/mn.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/mr.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ms.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/mt.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ne.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/nl.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/no.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/oc.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/pb.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/pi.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/pl.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/pt.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ro.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/rs_cyrillic.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/rs_latin.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ru.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/sk.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/sl.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/sq.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/sv.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/sw.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ta.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/te.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/th.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/tl.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/tr.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ug.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/uk.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/ur.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/uz.txt -> build/bdist.linux-aarch64/egg/easyocr/dict copying build/lib/easyocr/dict/vi.txt -> build/bdist.linux-aarch64/egg/easyocr/dict creating build/bdist.linux-aarch64/egg/easyocr/model copying build/lib/easyocr/model/init.py -> build/bdist.linux-aarch64/egg/easyocr/model copying build/lib/easyocr/model/model.py -> build/bdist.linux-aarch64/egg/easyocr/model copying build/lib/easyocr/model/modules.py -> build/bdist.linux-aarch64/egg/easyocr/model copying build/lib/easyocr/model/vgg_model.py -> build/bdist.linux-aarch64/egg/easyocr/model byte-compiling build/bdist.linux-aarch64/egg/easyocr/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/cli.py to cli.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/config.py to config.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/craft.py to craft.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/craft_utils.py to craft_utils.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/detection.py to detection.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/easyocr.py to easyocr.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/imgproc.py to imgproc.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/recognition.py to recognition.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/utils.py to utils.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/model/init.py to init.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/model/model.py to model.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/model/modules.py to modules.cpython-39.pyc byte-compiling build/bdist.linux-aarch64/egg/easyocr/model/vgg_model.py to vgg_model.cpython-39.pyc creating build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/entry_points.txt -> build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO copying easyocr.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO zip_safe flag not set; analyzing archive contents... easyocr.pycache.config.cpython-39: module references file creating 'dist/easyocr-1.2.5.1-py3.9.egg' and adding 'build/bdist.linux-aarch64/egg' to it removing 'build/bdist.linux-aarch64/egg' (and everything under it) Processing easyocr-1.2.5.1-py3.9.egg removing '/usr/local/lib/python3.9/site-packages/easyocr-1.2.5.1-py3.9.egg' (and everything under it) creating /usr/local/lib/python3.9/site-packages/easyocr-1.2.5.1-py3.9.egg Extracting easyocr-1.2.5.1-py3.9.egg to /usr/local/lib/python3.9/site-packages easyocr 1.2.5.1 is already the active version in easy-install.pth Installing easyocr script to /usr/local/bin

Installed /usr/local/lib/python3.9/site-packages/easyocr-1.2.5.1-py3.9.egg Processing dependencies for easyocr==1.2.5.1 Searching for PyYAML Reading https://pypi.org/simple/PyYAML/ Download error on https://pypi.org/simple/PyYAML/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'PyYAML' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or working download links found for PyYAML error: Could not find suitable distribution for Requirement.parse('PyYAML') [jw@cn05 easyocr]$ pip3 install pyyaml Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pyyaml in /home/jw/.local/lib/python3.9/site-packages (5.1) [jw@cn05 easyocr]$

LutzWeischerFujitsu commented 3 years ago

Looks like it works now for current master + v1.3.2.