에러 해결 TypeError: expected string or bytes-like object - 정규표현식을 사용하는 과정에서 다음과 같은 에러가 발생했다. re.split('[/,-,(,).:]', pill_name)[0] pill_name이 str이 아니여서 발생하는 문제였다. 728x90 공유하기 게시글 관리 Reality is also a Pizza '에러 해결' 카테고리의 다른 글 -- fatal: refusing to merge unrelated histories (0) 2022.12.26 no jvm shared library file (jvm.dll) found. try setting up the java_home environment variable properly. (0) 2022.10.26 [docker-compose up error] : ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? (0) 2022.09.05 AttributeError: 'NoneType' object has no attribute 'shape' (0) 2022.07.12 RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn (0) 2022.06.29 Contents 당신이 좋아할만한 콘텐츠 no jvm shared library file (jvm.dll) found. try setting up the java_home environment variable properly. 2022.10.26 [docker-compose up error] : ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? 2022.09.05 AttributeError: 'NoneType' object has no attribute 'shape' 2022.07.12 RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn 2022.06.29 댓글 0 + 이전 댓글 더보기