-
Notifications
You must be signed in to change notification settings - Fork 295
Description
安装paddle2.6(Python 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.),验证时出现以下问题,请教一下,怎么解决?
import paddle
Error: Can not import paddle core while this file exists: C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle\base\libpaddle.pyd
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle\base\core.py", line 268, in
from . import libpaddle
ImportError: DLL load failed while importing libpaddle: 找不到指定的模块。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle_init_.py", line 28, in
from .base import core # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle\base_init_.py", line 36, in
from . import core
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\paddle\base\core.py", line 375, in
if not avx_supported() and libpaddle.is_compiled_with_avx():
^^^^^^^^^
NameError: name 'libpaddle' is not defined