Python 3.6.8
(rknn_win_env) D:\Sales\Customer-Rockchip\RK1808\RK1808\example>cd yolov3
(rknn_win_env) D:\Sales\Customer-Rockchip\RK1808\RK1808\example\yolov3>python rknn_camera_tiny_multiProcess.py
Traceback (most recent call last):
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow_core\python\platform\self_check.py", line 47, in preload_check
ctypes.WinDLL(build_info.msvcp_dll_name)
File "c:\users\paul\appdata\local\programs\python\python36\Lib\ctypes\__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "rknn_camera_tiny_multiProcess.py", line 8, in <module>
from rknn.api import RKNN
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\__init__.py", line 1, in <module>
from rknn import api
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\api\__init__.py", line 1, in <module>
from rknn.api.rknn import RKNN
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\api\rknn.py", line 16, in <module>
from .rknn_base import RKNNBase
File "rknn\api\rknn_base.py", line 13, in init rknn.api.rknn_base
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\base\acuitylib\__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\base\acuitylib\__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "rknn\base\acuitylib\optimize\optimizer.py", line 13, in init rknn.base.acuitylib.optimize.optimizer
File "rknn\base\acuitylib\optimize\rules\merge_layer.py", line 3, in init rknn.base.acuitylib.optimize.rules.merge_layer
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\rknn\base\acuitylib\layer\__init__.py", line 2, in <module>
from acuitylib.layer.add import *
File "rknn\base\acuitylib\layer\add.py", line 1, in init rknn.base.acuitylib.layer.add
File "rknn\base\acuitylib\layer\acuitylayer.py", line 3, in init rknn.base.acuitylib.layer.acuitylayer
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow\__init__.py", line 98, in <module>
from tensorflow_core import *
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow_core\__init__.py", line 40, in <module>
from tensorflow.python.tools import module_util as _module_util
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow\__init__.py", line 50, in __getattr__
module = self._load()
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow\__init__.py", line 44, in _load
module = _importlib.import_module(self.__name__)
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow_core\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow_core\python\pywrap_tensorflow.py", line 30, in <module>
self_check.preload_check()
File "D:\Sales\Customer-Rockchip\RK1808\RK1808\example\rknn_win_env\lib\site-packages\tensorflow_core\python\platform\self_check.py", line 55, in preload_check
% build_info.msvcp_dll_name)
ImportError: Could not find 'msvcp140.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. You may install this DLL by downloading Visual C++ 2015 Redistributable Update 3 from this URL: https://www.microsoft.com/en-us/download/details.aspx?id=53587
(rknn_win_env) D:\Sales\Customer-Rockchip\RK1808\RK1808\example\yolov3>call:deactivate
请按任意键继续. . .
或者你安装软件的出错提示操作也可以:
ImportError: Could not find 'msvcp140.dll'. TensorFlow requires that this DLL be installed in a directory that is named in your %PATH% environment variable. You may install this DLL by downloading Visual C++ 2015 Redistributable Update 3 from this URL: https://www.microsoft.com/en-us/download/details.aspx?id=53587