Coder Social home page Coder Social logo

Comments (6)

lppgo avatar lppgo commented on June 18, 2024 1

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

我也遇到这个问题。我在win10 python3.8 遇到相同的问题,反复测试好几次。最后切换安装python3.7.9 并对应使用dolphindb 3.17.4 发现可以运行

from api_python3.

hzwale avatar hzwale commented on June 18, 2024 1

请问你的python是什么版本?

目前windows 版本的 DolphinDB Python API 支持 Python 3.6-3.8 版本,但仅支持 conda 环境下的 python 3.8;
请在conda环境下配置python3.8 > 3.8.0(ps:windows下,python 3.8.0 暂不支持 DolphinDB Python API),pip安装 Python API 后 import 。

from api_python3.

Wilson1823 avatar Wilson1823 commented on June 18, 2024

@cjj208
You might be facing this issue because of the following reasons

If you have fixed this problem, please share your experiences with others.

from api_python3.

QGB avatar QGB commented on June 18, 2024

@windancer79
@Wilson1823

In [2]: pip install dolphindb
Collecting dolphindb
  Using cached dolphindb-1.30.19.1-cp37-cp37m-win_amd64.whl (3.9 MB)
Requirement already satisfied: future in c:\qgb\anaconda3\lib\site-packages (from dolphindb) (0.18.2)
Requirement already satisfied: numpy<=1.22.3,>=1.18 in c:\qgb\anaconda3\lib\site-packages (from dolphindb) (1.21.6)
Requirement already satisfied: pandas!=1.3.0,>=0.25.1 in c:\qgb\anaconda3\lib\site-packages (from dolphindb) (0.25.3)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\qgb\anaconda3\lib\site-packages (from pandas!=1.3.0,>=0.25.1->dolphindb) (2.8.0)
Requirement already satisfied: pytz>=2017.2 in c:\qgb\anaconda3\lib\site-packages (from pandas!=1.3.0,>=0.25.1->dolphindb) (2021.3)
Requirement already satisfied: six>=1.5 in c:\qgb\anaconda3\lib\site-packages (from python-dateutil>=2.6.1->pandas!=1.3.0,>=0.25.1->dolphindb) (1.15.0)
Installing collected packages: dolphindb
Successfully installed dolphindb-1.30.19.1
Note: you may need to restart the kernel to use updated packages.


C:\QGB\Anaconda3\lib\site-packages\dolphindb\__init__.py in <module>
      1 name = "dolphindb"
----> 2 from .session import session
      3 from .session import DBConnectionPool
      4 from .session import BlockReader
      5 from .session import PartitionedTableAppender

C:\QGB\Anaconda3\lib\site-packages\dolphindb\session.py in <module>
     23
     24 sys.path.append(os.path.dirname(__file__))
---> 25 import dolphindbcpp  as ddbcpp
     26
     27

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

from api_python3.

mgttt avatar mgttt commented on June 18, 2024

3.9 win 非conda 何时发布?

from api_python3.

hzwale avatar hzwale commented on June 18, 2024

版本在测试中,预计下周初发布。

from api_python3.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.