ImportError: Ошибка загрузки DLL: указанный модуль не найден. при импорте pytesseract? - PullRequest
0 голосов
/ 11 апреля 2020
Python version: 3.7.4
pytesseract Version  : 0.3.3

Код:

import pytesseract 

Ошибка:

Traceback (most recent call last):
  File "C:\Users\Mohamed\Documents\img_str.py", line 2, in <module>
    import pytesseract  
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytesseract\__init__.py", line 1, in <module>
    from .pytesseract import (  # noqa: F401
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pytesseract\pytesseract.py", line 34, in <module>
    import pandas as pd
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\__init__.py", line 55, in <module>
    from pandas.core.api import (
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\api.py", line 29, in <module>
    from pandas.core.groupby import Grouper, NamedAgg
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\groupby\__init__.py", line 1, in <module>
    from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\groupby\generic.py", line 60, in <module>
    from pandas.core.frame import DataFrame
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\frame.py", line 124, in <module>
    from pandas.core.series import Series
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\series.py", line 4572, in <module>
    Series._add_series_or_dataframe_operations()
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\generic.py", line 10349, in _add_series_or_dataframe_operations
    from pandas.core.window import EWM, Expanding, Rolling, Window
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\window\__init__.py", line 1, in <module>
    from pandas.core.window.ewm import EWM  # noqa:F401
  File "C:\Users\Mohamed\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pandas\core\window\ewm.py", line 5, in <module>
    import pandas._libs.window.aggregations as window_aggregations
ImportError: DLL load failed: The specified module could not be found.
[Finished in 1.4s]
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...