安装成功,运行失败 LENOVO T530, NVIDA NVS5400M, paddle.fluid ImportError: DLL load failed: 找不到指定的模块。
Created by: sidneyz139
安装成功,运行失败 第一次安装paddle时曾经有warning错误,后重复安装时,看到的都是already satisfy,无warning/error. Python3中 import paddle.fluid,报错“ImportError: DLL load failed: 找不到指定的模块。”具体日志见后。 安装指令
- 版本、环境信息: 1)PaddlePaddle版本:1.6.3 2)CPU:Intel i7 3720QM , 3)GPU:NVIDIA NVS5400M,Intel HD Graphics 4000; CUDA 10.2/10.0 + CUDNN 7.6.5 4)系统环境:Lenovo T530, WIN10 professional 64BIT 、Python 3.7.6、PIP 20.0.2
- 安装方式信息: pip安装 python3 -m pip install paddlepaddle-gpu==1.6.3.post107 -i https://mirror.baidu.com/pypi/simple 特殊环境请注明:
- 安装时,先按NVidia网站缺省安装的是10.2,不能成功运行后,选择了10.0再次安装,并切换了CUDA路径为10.0的路径
- 检查版本是,返回的是64bit、AMD64;非常奇怪,明明是IntelCPU, 怎么是AMD64?
- cudnn 已经拷贝了正确的版本到对应的目录下,不过cuda的安装目录不是缺省目录
- MKL/OpenBlas/MKLDNN/等数学库的使用情况,不知道是什么,应该怎么检查?
安装日志 C:\Users\SidneyZ>python3 -m pip install paddlepaddle-gpu==1.6.3.post107 -i https://mirror.baidu.com/pypi/simple Looking in indexes: https://mirror.baidu.com/pypi/simple Requirement already satisfied: paddlepaddle-gpu==1.6.3.post107 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (1.6.3.post107) Requirement already satisfied: matplotlib; python_version >= "3.6" in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (3.1.2) Requirement already satisfied: opencv-python in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (4.1.0.25) Requirement already satisfied: prettytable in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (0.7.2) Requirement already satisfied: protobuf>=3.1.0 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (3.11.3) Requirement already satisfied: funcsigs in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (1.0.2) Requirement already satisfied: numpy>=1.12; python_version >= "3.5" in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (1.18.1) Requirement already satisfied: scipy; python_version >= "3.5" in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (1.4.1) Requirement already satisfied: Pillow in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (7.0.0) Requirement already satisfied: rarfile in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (3.1) Requirement already satisfied: decorator in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (4.4.1) Requirement already satisfied: graphviz in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (0.13.2) Requirement already satisfied: pyyaml in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (5.3) Requirement already satisfied: objgraph in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (3.4.1) Requirement already satisfied: six in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (1.14.0) Requirement already satisfied: nltk; python_version >= "3.5" in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (3.4.5) Requirement already satisfied: requests>=2.20.0 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from paddlepaddle-gpu==1.6.3.post107) (2.22.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from matplotlib; python_version >= "3.6"->paddlepaddle-gpu==1.6.3.post107) (2.4.6) Requirement already satisfied: cycler>=0.10 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from matplotlib; python_version >= "3.6"->paddlepaddle-gpu==1.6.3.post107) (0.10.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from matplotlib; python_version >= "3.6"->paddlepaddle-gpu==1.6.3.post107) (1.1.0) Requirement already satisfied: python-dateutil>=2.1 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from matplotlib; python_version >= "3.6"->paddlepaddle-gpu==1.6.3.post107) (2.8.1) Requirement already satisfied: setuptools in c:\program files\windowsapps\pythonsoftwarefoundation.python.3.7_3.7.1776.0_x64__qbz5n2kfra8p0\lib\site-packages (from protobuf>=3.1.0->paddlepaddle-gpu==1.6.3.post107) (41.2.0) Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.6.3.post107) (1.25.8) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.6.3.post107) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.6.3.post107) (2019.11.28) Requirement already satisfied: idna<2.9,>=2.5 in c:\users\sidneyz\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from requests>=2.20.0->paddlepaddle-gpu==1.6.3.post107) (2.8)
C:\Users\SidneyZ> C:\Users\SidneyZ>python3 Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 01:54:44) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.
import paddle.fluid Traceback (most recent call last): File "", line 1, in File "C:\Users\SidneyZ\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\paddle\fluid_init_.py", line 35, in from . import framework File "C:\Users\SidneyZ\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\paddle\fluid\framework.py", line 35, in from . import core File "C:\Users\SidneyZ\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\paddle\fluid\core.py", line 187, in raise e File "C:\Users\SidneyZ\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\paddle\fluid\core.py", line 167, in from .core_avx import * ImportError: DLL load failed: 找不到指定的模块。