Skip to content

cannot import name 'JSimpleSearcherResult' from 'pyserini.pyclass' #20

@hosseinfani

Description

@hosseinfani

(ReQue) C:\Users\hfani\Documents\ReQue\develop\qe>python main.py
Traceback (most recent call last):
File "main.py", line 42, in
from expanders.bertqe import BertQE
File "C:\Users\hfani\Documents\ReQue\develop\qe\expanders\bertqe.py", line 13, in
from pygaggle.rerank.base import Query, Text
File "C:\ProgramData\Anaconda3\envs\ReQue\lib\site-packages\pygaggle\rerank\base.py", line 4, in
from pyserini.pyclass import JSimpleSearcherResult
ImportError: cannot import name 'JSimpleSearcherResult' from 'pyserini.pyclass' (C:\ProgramData\Anaconda3\envs\ReQue\lib\site-packages\pyserini\pyclass.py)

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions