You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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)
The text was updated successfully, but these errors were encountered:
pygaggle's master is compatible with pyserini 0.10. So, I removed the pygaggle installer from environment.yml and requirement.txt. We have to clone or install it after conda env creation it for now till they release their new version.
(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)
The text was updated successfully, but these errors were encountered: