OriginQ / QPanda-2

QPanda 2 is an open source quantum computing framework developed by OriginQC that can be used to build, run, and optimize quantum algorithms.
https://originqc.com.cn/en/quantum_soft.html?type=qpanda&lv2id=43&lv3id=72
Apache License 2.0
1.15k stars 92 forks source link

ImportError: DLL load failed while importing pyQPanda #241

Open kylezhou1992 opened 3 months ago

kylezhou1992 commented 3 months ago

QPanda

基本信息

Bug是什么?

复现Bug的步骤?

建议的解决方案

pyQPanda

基本信息

python 3.9.1 安装 pyqpanda 3.8.3.4 后 import 失败,提示 ImportError: DLL load failed while importing pyQPanda: 找不到指定模块.

Bug是什么?

ImportError: DLL load failed while importing pyQPanda

复现Bug的步骤?

python -m pip install pyqpanda python -c "import pyqpanda"

建议的解决方案

pyqpanda可以正常运行

ArrowYL commented 2 months ago

你好,你可能少了VC必备的库,参考下图 image

完整地址: https://pyqpanda-toturial.readthedocs.io/zh/latest/2.pyqpanda%E7%AE%80%E4%BB%8B/index.html