728x90 반응형 전체 글118 kubernetes.config.config_exception.ConfigException: Service host/port is not set. 이 오류는 주로 다음과 같은 상화에서 발생함Kubernetes 클러스터 외부에서 config.load_incluster_config()를 호출할 때:로컬 개발 환경에서 Kubernetes API에 접근하려고 할 때: 이 경우 config.load_kube_config()를 사용해야 합니다 KUBERNETES_SERVICE_HOST와 KUBERNETES_SERVICE_PORT 환경 변수가 설정되어 있어야 합니다Kubernetes 클러스터 내부의 Pod에서 실행 중이지만, 필요한 권한이 없을 때:적절한 RBAC 권한이 설정되어 있어야 합니다Minikube나 다른 로컬 Kubernetes 환경 설정 문제:클러스터 설정이 올바르지 않을 수 있습니다해결방법Minikube 환경에서 KUBERNETES_SERVICE.. 2024. 8. 26. /bin/sh: 1: krb5-config: not error 해결 방법 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/sub.. 2024. 8. 23. cc: not found error 해결 방법 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] /usr/bin/krb5-config: 1: cc: not found Failed to find installation architecture Traceback (most recent call last): .... File "/usr/lib/pyth.. 2024. 8. 23. Python.h: No such file or directory #include "Python.h" 해결 방법 ERROR: Failed building wheel for krb5 gssapi/raw/misc.c:55:10: fatal error: Python.h: No such file or directory 55 | #include "Python.h" | ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. .. 2024. 8. 23. 이전 1 ··· 8 9 10 11 12 13 14 ··· 30 다음 728x90 반응형