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

ImportError: DLL load failed while importing core: 动态链接库(DLL)初始化例程失败。 #11

Open
NameLacker opened this issue Sep 6, 2021 · 1 comment

Comments

@NameLacker
Copy link

paddlepaddle: 2.1.2
paddle-quantum: 2.1.2
system: win10

报错:
Traceback (most recent call last):
File "D:\anaconda\envs\paddle21\lib\site-packages\psi4_init_.py", line 55, in
from . import core
ImportError: DLL load failed while importing core: 动态链接库(DLL)初始化例程失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:/Base_project/neural-network-base/quantum_computing/quantum_simulation/structure_of_hamiltonian.py", line 15, in
from paddle_quantum.qchem import geometry, get_molecular_data
File "D:\anaconda\envs\paddle21\lib\site-packages\paddle_quantum\qchem.py", line 22, in
import psi4
File "D:\anaconda\envs\paddle21\lib\site-packages\psi4_init_.py", line 60, in
raise ImportError("{0}".format(err))
ImportError: DLL load failed while importing core: 动态链接库(DLL)初始化例程失败。

@wangzihe1996
Copy link

这个的话,你当前的Python环境下有安装Psi4吗?没有的话,需要先安装这个包,具体的安装方式可以参考量桨的readme

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

2 participants