环境: Windows,Python3.8.0
pip install dolphindb已被执行,但它未能在Python中导入dolphindb。
>>> import dolphindb as ddb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\app\conda\envs\test3\lib\site-packages\dolphindb\__init__.py", line 2, in <module>
from .session import session
File "D:\app\conda\envs\test3\lib\site-packages\dolphindb\session.py", line 18, in <module>
import dolphindbcpp as ddbcpp
ImportError: DLL load failed while importing dolphindbcpp: DLL initialization failed.我该怎么解决呢?
发布于 2022-08-26 01:31:58
Windows目前只支持DolphinDB环境下的python3.8。
您可以参考Python for DolphinDB (https://github.com/dolphindb/api_python3)获得详细信息。
请在conda中设置python3.8> 3.8.0,然后执行pip安装dolphindb.enter code here
https://stackoverflow.com/questions/73481208
复制相似问题