Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装paddle2.6 验证时 import paddle 出错 #1042

Open
lghsrchcn opened this issue Dec 28, 2024 · 0 comments
Open

安装paddle2.6 验证时 import paddle 出错 #1042

lghsrchcn opened this issue Dec 28, 2024 · 0 comments

Comments

@lghsrchcn
Copy link

安装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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant