Skip to content

pyserini Development Install issue (on Windows) #1121

Answered by AreelKhan
AreelKhan asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE:

I was able to fix the issue!
The problem had to do with correctly setting paths for environment variables. I'll briefly explain what I did in case someone else is/will face the same problem.
During the developer installation for pyserini and anserini you must use the make command to compile trec_eval. However, there are (possibly) extra steps if installing on a Windows machine, linked here. You must download cygwin and compile from a cygwin terminal.
This did not work for me, I was still getting the following error:

make (e=2): The system cannot find the file specified.
make: *** [Makefile:54: trec_eval] Error 2

Next, I added the cygwin bin directory to the PATH variable in my sy…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@AreelKhan
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AreelKhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1120 on April 19, 2022 10:00.