Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
diyicheng opened this issue Apr 14, 2024 · 9 comments

Comments

@diyicheng
Copy link

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

@jeyendranbalakrishnan
Copy link

Having the same problem.

@JIAWENee
Copy link

Encountered the same problem, how did you solve it?

@JIAWENee
Copy link

JIAWENee commented May 6, 2024

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

Solved by command pip install pytrec-eval-terrier

@KimSuYun0723
Copy link

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

@cristianciacu1
Copy link

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

@yuye-aws
Copy link

yuye-aws commented Jun 6, 2024

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
Copy link

yuye-aws commented Jun 6, 2024

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]

@Rilzob
Copy link

Rilzob commented Sep 6, 2024

I solve this problem by:
pip install pycocotools

@Kuacha031114
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants