Star

python连接nebula成功但是执行报错

报下面这个错,我是连接成功的- - --Get connection to (‘xxxxxx’, 3699)
用的是connection_pool方法

ResultSet(ExecutionResponse(
    error_code=-5,
    latency_in_us=0))

你连接池是不是配置多个graphd?

只配置了一个 :flushed:

你那边有修改服务端这个配置吗? session_idle_timeout_secs

name ‘UnimplementedTypedef’ is not defined ,今早想确认下你这个问题,又报了这个错~~

我猜测你们环境的thrift和我们依赖的fbthrift冲突了,你等下,我解决下冲突

你更新下代码,通过源码安装下,看还会不会出现这个错误。

通过源码安装?用pip 命令安装报错

WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with ‘–trusted-host mirrors.aliyun.com’.
ERROR: Could not find a version that satisfies the requirement nebula2-python (from versions: none)
ERROR: No matching distribution found for nebula2-python

你的安装命令是怎么的?还有新代码还没发版本上传到pypi上面,你只能用源码安装,看readme 有介绍。

浙ICP备20010487号