Skip to content

python源码无法从环境变量中加载dll库的问题 #333

Description

@QHT0417

taos-connector-python/tree/main/taos/cinterface.py源码中第55行代码没有return 导致无法从环境变量中加载taos.dll文件

由于我的开发电脑无法直接安装taos客户端,所以采用环境变量的方式调用taos客户端,在cmd命令行测试可以正常使用,但使用python代码连接taos时报错: NontType object has no attribute 'taos_get_client_info'

经调试定位到该问题,在添加上return后问题解决。希望可以更正!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions