라벨이 error인 게시물 표시

[Python] AttributeError: partially initialized module "package_name" has no attribute "[package_name].attribute" (most likely due to a circular import)

 "AttributeError: partially initialized module "package_name" has no attribute "[package_name].attribute" (most likely due to a circular import)" 오류: "이 package는 요청하는 요소|선언 (attibute)이 없다." 이유: package 이름과 개발자가 작성 중이 파일명이 동일한 경우 발생한다. 예시: mypkg.py // import mypkg as mp mp.test() // python mypkg.py ... AttributeError: partially initialized module "mypkg" has no attribute "test" (most likely due to a circular import) 해결방법: mypkg를 mypkg_test.py와 같이 변경하자. mypkg_test.py // import mypkg as mp mp.test() // python mypkg.py ... This is my python test!

[JetBrains] Intellij, WebStorm IDEA가 특정 project만 열지 못할 때

Intellij, WebStorm IDEA가 특정 project만 열지 못할 때 순서 Local history file위치 로 이동 Windows 기준: %LOCALAPPDATA%\JetBrains\<product><version>으로 이동 문제가 되는 부분의 임시 정보 file 삭제 1 2 3 4 C:\Users\ * * * > cd  "%LOCALAPPDATA%\JetBrains\<product><version>\workspace"   C:\Users\ * * * \AppData\Local\JetBrains\IntelliJIdea2023. 1 \workspace > del [열리지 않는 프로젝트].xml   Colored by Color Scripter cs

[flutter] Android - Package간 sdk version 등이 맞지 않아 오류가 발생하는 경우

[flutter] Android - Package간 sdk version 등이 맞지 않아 오류가 발생하는 경우 에러 문구: Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... ...\android\app\src\debug\AndroidManifest.xml Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:some_package] ...\intermediates\merged_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 16 Suggestion: use a compatible library with a minSdk of at most 16, or increase this project's minSdk version to at least 21, or use tools:overrideLibrary="com. some_package" to force usage (may lead to runtime failures) FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDebugMainManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:some_package] ...\build\awesome_notifications\intermediates\merged_manifest\...

[flutter] invalid depfile error

 [Flutter] 실행후 "invalid depfile" 관련 오류가 발생했을 때, 오류 문구 유형 "Invalid depfile: .../.dart_tool/flutter_build/.../kernel_spanshot.d" 와 유사한 형태 해결 방법 project root에서, 아래 명령을 수행 $ flutter pub get

adb 실행 중 발생하는 "$ADB_VENDOR_KEYS" 에러

adb 실행 중 발생하는  "$ ADB_VENDOR_KEYS" 에러 This adb server's $ADB_VENDOR_KEYS is not set Try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation dialog on your device. Error while Installing APK 단말의 개발자 모드 연동에 문제가 발생한 것으로, 단말의 설정에서, 개발자 모드의 연결 정보를 삭제하고 다시 연결하면 된다. 즉, 케이블을 빼고, USB 디버깅 권한 승인 취소를 누르고,  USB 디버깅을 끄고 다시 켠다. 그리고 다시 케이블을 연결하면, 연결을 허용하고 디버깅을 허용하겠다는 말이 나온다.