Python cassandradriver:找不到使用libev所需的C扩展

2024-09-30 06:17:26 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了cassandrapython驱动程序2.5.1版,并安装了所有必需的依赖项libev4、libev dev、gcc、python-dev

"The C extension needed to use libev was not found. This probably means that you didn't have the required build dependencies when installing the driver"

我尝试重新安装,甚至安装了最新版本的驱动程序,但没有成功。 我使用的是Ubuntu 12.04。在


Tags: thetodevuseextension驱动程序notgcc
1条回答
网友
1楼 · 发布于 2024-09-30 06:17:26

当我检查时,我已经安装了所有的依赖项,但可能在我安装驱动程序时没有安装。 在我尝试重新安装之前,我尝试安装与现有安装冲突的最新版本。在

所以问题是:在安装python驱动程序之前没有安装依赖项,然后多次安装驱动程序。在

解决方案从系统中完全删除Cassandra python驱动程序的所有版本(删除相关的鸡蛋)。确保您拥有所有dependencies installed。之后,只需安装所需的版本。在

相关问题 更多 >

    热门问题