问题:卡在安装pytrec_eval-0.5.tar.gz
ERROR: Failed building wheel for pytrec-eval
Running setup.py clean for pytrec-eval
Failed to build pytrec-eval
ERROR: Could not build wheels for pytrec-eval, which is required to install pyproject.toml-based projects
解决:
-
Linux/服务器中
python -m pip install --upgrade setuptoolspython -m pip install --upgrade pippip install beir==2.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple成功安装!
-
jupyter中
手动安装pytrec_eval
参考: