본문 바로가기
728x90
반응형

전체 글91

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.
Can not find valid pkg-config name. 수정 및 해결 방법 pip로 mysqlclient를 설치하면서 다음과 같은 에러가 발생하였습니다.Collecting mysqlclient  Downloading mysqlclient-2.2.4.tar.gz (90 kB)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.4/90.4 KB 4.1 MB/s eta 0:00:00  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 .. 2024. 8. 23.
Minikube 설치 및 예제 Minikube는 로컬 Kubernetes 클러스터를 설정하는 도구로, 개발자와 Kubernetes 사용자들이 쉽게 사용할 수 있도록 설계되었습니다. Mac PC에서 Lima환경(Linux)에서 Minikube를 설치하였습니다.https://kubernetes.io/ko/docs/tutorials/hello-minikube/ Hello Minikube이 튜토리얼에서는 Minikube와 Katacoda를 이용하여 쿠버네티스에서 샘플 애플리케이션을 어떻게 실행하는지 살펴본다. Katacode는 무료로 브라우저에서 쿠버네티스 환경을 제공한다. 참고:로컬에서 Mkubernetes.io Minikube 설치https://minikube.sigs.k8s.io/docs/start/?arch=%2Fmacos%2Fx86.. 2024. 8. 23.
alembic.util.exc.CommandError: Can't locate revision identified by '22ed7efa9da2' airflow db upgrade를 실행 하다가 다음과 같은 에러가 발생하였습니다.alembic.util.exc.CommandError: Can't locate revision identified by '22ed7efa9da2'여기 저기 뒤져보니..머머를 삭제하면 된다고 했지만,저는 alembic을 초기화하니 해결 되었습니다.alembic init alembic 그리고 alembic.ini 파일 sqlalchemy.url 값을 수정하였습니다.sqlalchemy.url = mysql+pymysql://user:pass@localhost/dbname편의상 airflow-venv 위치에 했습니다. 2024. 8. 23.
728x90
반응형