목록Python/Error Solution (9)
rrimyuu 님의 블로그

macOS ARM64 (Apple Silicon, 예: M1/M2) 환경에서 python=3.8.0을 찾지 못하고 있습니다. 이는 다음 두 가지 이유 때문입니다:Python 3.8.0은 매우 오래된 릴리스이고osx-arm64 (M1/M2) 플랫폼용 빌드가 conda-forge 또는 defaults 채널에 존재하지 않음즉, python=3.8.0은 Intel(macOS x86_64)에는 있지만 ARM64 플랫폼(macOS M1/M2)에서는 패키지로 제공되지 않습니다. conda create -n deepisles python=3.8.0 -yconda activate deepisles conda activate deepisles 안먹힘: bash-3.2$ source ~/.bash_profile(base..
각 환자 폴더 이름을 통해, 정규표현식으로 특정 정보를 추출하려 하는데 안 먹히는 경우 발생 match = re.search(r"\(\d+\)\s+(\d+)_([가-힣]+)_", patient_name) 폴더 이름이 이와 같았는데, '(000) 00000000000_이름_20250403000000' string 임에도 정규표현식이 반영이 안됨. 동일한 폴더명을 변수로 만들어서 하면 잘 돌아갔음. -> 시각적으로 동일한데도, 차이가 있나봄. 분리형(ㅇㅠㄹㅣㅁ)/완성형 한글(유림) 차이라 함 그래서 아래와 같이 정규화해준 다음 하면 잘됨. normalized_patient_name = unicodedata.normalize("NFC", patient_name)match = re.search(r"\(\..
Your certificate (or certificates) for the names listed below will expire in 7 days (on 2025-03-23). Please make sure to renew your certificate before then, or visitors to your web site will encounter errors.Please note that we will stop sending expiration notification emails like this one on June 4, 2025. For details, YUHS-external 와이파이로 하면 22번 포트 막혀있어서 접근 안됨. 나는 핫스팟 사용했음. 22번 포트 막혀있는지 확인하는 방..
TypeError: ufunc 'invert' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' ground_truth = np.asarray(ground_truth, dtype=int) # addedassert np.array_equal(np.unique(ground_truth), [0, 1])order = (~ground_truth).argsort()

The filename, directory name, or volume label syntax is incorrect. The filename, directory name, or volume label syntax is incorrect. ERROR conda.cli.main_run:execute(47): 어느 순간부터 pip 명령어가 안 들어서 python -m pip 이렇게 명령어를 입력하다가 어느 순간부터 conda 로 설치한 패키지가 인식이 안되기 시작하였음. 최종적으로는 위 에러 코드가 뜨면서 잘 돌아가던 코드가 먹통이 되어버렸는데 나의 경우는 version 3.8.16 을 사용하고 있었고 지원이 끝났다는 것을 알게 됨. 그래서 아래 명시되어있는대로 3.8.20 을 설치해주니까 다시 잘 작동되..