注册

SystemError:<class ‘_frozen_importlib._ModuleLockManager’> returned a result with an error set

西红柿杀手 2023/08/22 951 0

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8_20221128_x86_kylin10_64
【操作系统】:kylin sp2
【CPU】:海光
【问题描述】*:
服务端版本是dm8_20221128_x86_kylin10_64的版本
客户端版本是dm8_20221128_x86_kylin10_64的版本并且打trunc-173998-20221108-x86-rh6-64-stripdebug.zip补丁包
dmpython版本为2.4.5 numpy版本为1.20.1 pandas版本为1.2.4 python版本为3.8.8 主备集群模式 直接连接主点ip方式连接(没有通过dm_svc方式)

conn=dmpython.connect(xxxxxxx)
cursor=conn.cursor()
query_sql=‘select * from xxxxx’
df=pd.read_sql_query(query_sql,conn)
conn.close()

执行通过python执行sql时可以返回结果,但返回结果时报错返回报错 SystemError:<class ‘_frozen_importlib._ModuleLockManager’> returned a result with an error set

回答 0
暂无回答
扫一扫
联系客服