如果有帮助就好!!
错误入下:
--------------------------------------------------------------------------------------------------------------------------
Python 3.10.8 | packaged by conda-forge | (main, Nov 24 2022, 14:07:00) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import easyocr
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
--------------------------------------------------------------------------------------------------------------------------
经过一翻操作,还是失败,但是确定应该是libiomp5md.dll文件多了,所以就有了下面的骚操作:
好吧,还是加上,(文件自已下 https://pypi.org/project/easyocr/1.5.0/#files ):
pip install easyocr-1.5.0-py3-none-any.whl