Comments (6)
ImportError: DLL load failed while importing dolphindbcpp: 动态链接库(DLL)初始化例程失败。
我也遇到这个问题。我在win10 python3.8 遇到相同的问题,反复测试好几次。最后切换安装python3.7.9 并对应使用dolphindb 3.17.4 发现可以运行
from api_python3.
请问你的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.
@cjj208
You might be facing this issue because of the following reasons
- You are running 32-bit Python or 32-bit OS
- You have not installed the Microsoft Visual C++ Redistributable package
- Your CPU does not support AVX instructions.
If you have fixed this problem, please share your experiences with others.
from api_python3.
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.
3.9 win 非conda 何时发布?
from api_python3.
版本在测试中,预计下周初发布。
from api_python3.
Related Issues (15)
- 异步接口
- pip install dolphindb ERROR HOT 3
- 对python3.11的支持 HOT 9
- python3没有现成的创建指定库/表的接口 HOT 3
- 利用 tableAppender 插入数据会报 Warning HOT 2
- py api有source code么? HOT 2
- 数据类型为Object传入输出时确推断为double????? HOT 2
- 请问是否有添加异步支持的计划?
- mac系统无法安装dolphindb的python接口包 HOT 4
- dolphindb.type_util模块找不到 HOT 1
- 无法安装 pip install dolphindb HOT 5
- Does DolphinDB support User Defined Function? HOT 1
- 高版本支持 HOT 5
- 树莓派里运行的docker版Ubuntu无法安装dolphindb的python包 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api_python3.