본문 바로가기
카테고리 없음

/bin/sh: 1: krb5-config: not error 해결 방법

by 빅경 2024. 8. 23.
728x90
반응형
Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      /bin/sh: 1: krb5-config: not found
      Using krb5-config at 'krb5-config'
      Traceback (most recent call last):
    ......
        File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/usr/lib/python3.10/subprocess.py", line 526, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command '('krb5-config --cflags krb5',)' returned non-zero exit status 127.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

 

해결방법

sudo apt-get install libkrb5-dev -y
728x90
반응형