자율 학습/에러 해결

[Python] "pip install jq" 실패 - which is required to install pyproject.toml-based projects

2024. 5. 9. 10:38

Building wheels for collected packages: jq
  Building wheel for jq (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for jq (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_ext
      Executing: ./configure CFLAGS=-fPIC -pthread --disable-maintainer-mode --with-oniguruma=builtin
      error: [WinError 2] 지정된 파일을 찾을 수 없습니다
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for jq
Failed to build jq
ERROR: Could not build wheels for jq, which is required to install pyproject.toml-based projects

 

jq는 파이썬 버전 3.11 이상으로 업그레이드 필요

 

https://github.com/elastic/elasticsearch-labs/issues/120