dll报错 paddle_Windows下pip安装成功但import paddle.fluid验证安装失败

吴品
2023-12-01

版本、环境信息:

1)PaddlePaddle版本:1.2.1

2)CPU:Intel(R) Core(TM) i5-7500

3)操作系统:Windows 7 专业版 + Python 3.5.1

安装方式信息:

pip安装:pip3 install paddlepaddle

复现信息:Windows下pip安装成功但import paddle.fluid验证安装失败

问题描述:

Traceback (most recent call last):

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\paddle\fluid\framework.py", line 27, in

from . import core

ImportError: DLL load failed: 找不到指定的程序。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "E:/Output/Python_output/PARL/PARL-kog/main.py", line 1, in

import paddle.fluid

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\paddle\fluid\__init__.py", line 18, in

from . import framework

File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35\lib\site-packages\paddle\fluid\framework.py", line 33, in

directory. The original error is: \n""" + cpt.get_exception_message(e))

ImportError: NOTE: You may need to run "export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH"

if you encounters "libmkldnn.so not found" errors. If you have python

installed in other directory, replace "/usr/local/lib" with your own

directory. The original error is:

DLL load failed: 找不到指定的程序。

 类似资料: