본문 바로가기
728x90

분류 전체보기46

[react-native 에러]> Task :app:mergeDebugJavaResource FAILED react-native와 firebase의 push 알람을 사용하기 위한 과정에서 Task :app:mergeDebugJavaResource FAILED 이러한 오류가 발생했을 경우 해결책은 다음과 같다 먼저 app단의 build.gradle에서 android 부분에 아래와 같은 코드를 집어넣어주면 된다 android { packagingOptions { pickFirst "META-INF/DEPENDENCIES" } } or android { packagingOptions { exclude "META-INF/DEPENDENCIES" } } 나에게 어려운 오류가 없어질때까지.. 2022. 3. 16.
[파이썬 에러] module ‘librosa’ has no attribute ‘display’ 필요한 라이브러리를 가져오고 하위에 있는 함수들을 쓸 때 인식을 못하는 오류가 발생할 때가 있다 import librosa librosa.display.specshow(...); AttributeError : module 'librosa' has no attribute 'display' 위와 같은 오류가 발생할 때 해결 방법은 아래와 같다 1. 쓰이는 함수 명시해주기 import librosa.display 위와 같이 명시를 해주면 오류없이 코드가 진행될 것이다 나에게 어려운 오류가 없어질때까지... 2022. 1. 21.
[도커 에러] The push refers to repository [docker.io/dmstjr0605/test]An image does not exist locally with the tag: dmstjr0605/test docker push dmstjr0605/test:0.1 docker hub에 테스트 겸 만든 docker image를 업로드 하려고 docker push를 하였더니 더보기 The push refers to repository [docker.io/dmstjr0605/test] An image does not exist locally with the tag: dmstjr0605/test 아래와 같은 오류가 발생하였다 즉, An image does not exist locally with the tag: dmstjr0605/test => 로컬에 dmstjr0605/test의 이름을 가진 image가 없다고 뜬다 해결법을 찾아보니 docker hub의 repository 이름과 로컬의 docker image .. 2022. 1. 18.
[파이썬 에러] SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 파이썬 코드를 진행하다 보면 SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape 위와 같은 오류가 발생할 때가 있는데 해결법은 다음과 같다 1. / (슬레시)를 \ (백슬래시)로 바꿔주기 path = "User/python/test.py" => "User\python\test.py" 2. \를 2번 써주기 path = "User\python\test.py" => "User\\python\\test.py" 위와 같이 하면 해결될 것이다 나에게 어려운 오류가 없어질때까지... 2022. 1. 12.
728x90
728x90