pytrec_eval icon indicating copy to clipboard operation
pytrec_eval copied to clipboard

ERROR: Could not build wheels for pytrec-eval, which is required to install pyproject.toml-based projects

Open diyicheng opened this issue 1 year ago • 9 comments

ERROR: Could not build wheels for pytrec-eval, which is required to install pyproject.toml-based projects

diyicheng avatar Apr 14 '24 16:04 diyicheng

Having the same problem.

jeyendranbalakrishnan avatar Apr 22 '24 04:04 jeyendranbalakrishnan

Encountered the same problem, how did you solve it?

JIAWENee avatar Apr 28 '24 02:04 JIAWENee

遇到同样的问题,你是怎么解决的?

Solved by command pip install pytrec-eval-terrier

JIAWENee avatar May 06 '24 06:05 JIAWENee

After using that command, Im still having same problem..

KimSuYun0723 avatar May 26 '24 12:05 KimSuYun0723

+1 same error here. I have a clean environment with python 3.8 and openjdk 11.

cristianciacu1 avatar May 31 '24 14:05 cristianciacu1

After using that command, Im still having same problem..

Same here. I have tried multiple python versions from 3.9 through 3.11. Seems that we have the dependency missing for pyproject.toml

yuye-aws avatar Jun 06 '24 07:06 yuye-aws

If you are failing due to the following error, you can then try installing gcc first

error: command 'gcc' failed: No such file or directory
[end of output]

Also, you can try installing g++ if you come across the following error:

gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

yuye-aws avatar Jun 06 '24 08:06 yuye-aws

I solve this problem by: pip install pycocotools

Rilzob avatar Sep 06 '24 02:09 Rilzob

I slove this py: pip install --no-binary :all: pytrec_eval and use python 3.11.10.

Kuacha031114 avatar Dec 04 '24 07:12 Kuacha031114