首页 文章

在Linux上安装PyLucene 6.5.0的问题

提问于
浏览
0

我最近搬到了python3,所以我正在尝试安装最新版本的Pylucene(版本6.5.0),它与python3兼容 .

jcc3/sources/jcc.cpp: In function ‘PyObject* t_jccenv_strhash(PyObject*, PyObject*)’:
jcc3/sources/jcc.cpp:214:27: error: expected ‘)’ before ‘PRIxMAX’
     sprintf(buffer, "%0*" PRIxMAX, (int) hexdig, hash);
                           ^
jcc3/sources/jcc.cpp:214:54: warning: conversion lacks type at end of format [-Wformat=]
     sprintf(buffer, "%0*" PRIxMAX, (int) hexdig, hash);
                                                      ^
jcc3/sources/jcc.cpp:214:54: warning: too many arguments for format [-Wformat-extra-args]
error: command 'gcc' failed with exit status 1

但是,要安装jcc我得到以下错误,我不知道为什么会发生:你对这个问题有任何想法吗?

先谢谢你,阿明

1 回答

相关问题