Traceback (most recent call last):


 "build.py", line 3, in <module>

import torch.utils.ffi


 "/home/ubuntu/.local/lib/python3.6/site-packages/torch/utils/ffi/__init__.py", line 1, in <module>

raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.")
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

Traceback (most recent call last):


 "tools/infer/predict_system.py", line 20, in <module>

import tools.infer.utility as utility


 "F:\python\PaddleOCR\tools\infer\utility.py", line 17, in <module>

from ppocr.utils.utility import initial_logger


 "F:\python\PaddleOCR\ppocr\utils\utility.py", line 19, in <module>

from paddle import fluid


 "C:\Python37\lib\site-packages\paddle\__init__.py", line 37, in <module>

import paddle.complex


 "C:\Python37\lib\site-packages\paddle\complex\__init__.py", line 15, in <module>

from . import tensor


 "C:\Python37\lib\site-packages\paddle\complex\tensor\__init__.py", line 15, in <module>

from . import math


 "C:\Python37\lib\site-packages\paddle\complex\tensor\math.py", line 15, in <module>

from paddle.common_ops_import import *


 "C:\Python37\lib\site-packages\paddle\common_ops_import.py", line 15, in <module>

from paddle.fluid.layer_helper import LayerHelper


 "C:\Python37\lib\site-packages\paddle\fluid\__init__.py", line 56, in <module>

from . import contrib


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\__init__.py", line 27, in <module>

from . import slim


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\slim\__init__.py", line 15, in <module>

from .core import *


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\slim\core\__init__.py", line 15, in <module>

from . import config


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\slim\core\config.py", line 19, in <module>

from ..prune import *


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\slim\prune\__init__.py", line 17, in <module>

from . import prune_strategy


 "C:\Python37\lib\site-packages\paddle\fluid\contrib\slim\prune\prune_strategy.py", line 22, in <module>

from scipy.optimize import leastsq


 "C:\Python37\lib\site-packages\scipy\optimize\__init__.py", line 390, in <module>

from .optimize import *


 "C:\Python37\lib\site-packages\scipy\optimize\optimize.py", line 37, in <module>

from .linesearch import (line_search_wolfe1, line_search_wolfe2,


 "C:\Python37\lib\site-packages\scipy\optimize\linesearch.py", line 18, in <module>

from scipy.optimize import minpack2
ImportError: DLL load failed: 找不到指定的模块。
