github 코드를 돌리기 위해 pytrec_eval을 설치해야하는데 에러가 계속 발생했다.
pip install pytrec-eval
발생되는 문제
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Microsoft C++ Build Tools - Visual Studio
The Microsoft C++ Build Tools provides MSVC toolsets via a scriptable, standalone installer without Visual Studio. Recommended if you build C++ libraries and applications targeting Windows from the command-line (e.g. as part of your continuous integration
visualstudio.microsoft.com
위와 같은 에러가 발생했다. 하지만 C++ 버전이 이미 14.0 이상이다.
해결책
pip install pytrec-eval-terrier
참고자료
pytrec library not able to install on my system raising error
I am trying to install the pytrec_eval library in python and is throwing me the following error ` pip install pytrec_eval Collecting pytrec_eval Using cached pytrec_eval-0.5.tar.gz (15 kB) Pre...
stackoverflow.com
'Issue > Python' 카테고리의 다른 글
[Linux] gpu 실시간 사용량 확인 (2) | 2024.12.20 |
---|---|
[Python] pip install dotenv 에러 (2) | 2024.10.14 |
[Python] Pytorch GPU 사용 확인 (1) | 2024.10.14 |
[Python] pipreqs으로 사용한 패키지만 requirements.txt에 포함 (0) | 2024.04.30 |