inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

주피터 노트북에서 데이터셋을 import하는 중의 오류(밑바닥부터 시작하는 딥러닝)

미해결

밑바닥부터 시작하는 딥러닝 책 1권, 3.6 손글씨 숫자 인식 부분을 주피터 노트북으로 따라하고 있습니다 딥러닝 파일에서 따라 하고 있고 mnist 데이터 셋을 이렇게 저장해서 아래와 같이 실행했습니다. import sys,os sys.path.append(os.pardir) from mnist import load_mnist (x_train,t_train),(x_test,t_test) = load_mnist(flatten=True,normalize=False) print(x_train.shape) print(t_train.shape) print(x_test.shape) print(t_test.shape) 이런 식으로 입력했고 아래와 같은 오류가 떴습니다. Downloading train-images-idx3-ubyte.gz ... --------------------------------------------------------------------------- HTTPError Traceback (most recent call last) /var/folders/79/d4_6x4wx1xnfg9kn_7_km__h0000gn/T/ipykernel_8179/3746115192.py in <module> 3 from mnist import load_mnist 4 ----> 5 (x_train,t_train),(x_test,t_test) = load_mnist(flatten=True,normalize=False) 6 7 print(x_train.shape) ~/mnist.py in load_mnist(normalize, flatten, one_hot_label) ~/mnist.py in init_mnist() ~/mnist.py in download_mnist() ~/mnist.py in _download(file_name) ~/opt/anaconda3/lib/python3.9/urllib/request.py in urlretrieve(url, filename, reporthook, data) 237 url_type, path = _splittype(url) 238 --> 239 with contextlib.closing(urlopen(url, data)) as fp: 240 headers = fp.info() 241 ~/opt/anaconda3/lib/python3.9/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context) 212 else: 213 opener = _opener --> 214 return opener.open(url, data, timeout) 215 216 def install_opener(opener): ~/opt/anaconda3/lib/python3.9/urllib/request.py in open(self, fullurl, data, timeout) 521 for processor in self.process_response.get(protocol, []): 522 meth = getattr(processor, meth_name) --> 523 response = meth(req, response) 524 525 return response ~/opt/anaconda3/lib/python3.9/urllib/request.py in http_response(self, request, response) 630 # request was successfully received, understood, and accepted. 631 if not (200 <= code < 300): --> 632 response = self.parent.error( 633 'http', request, response, code, msg, hdrs) 634 ~/opt/anaconda3/lib/python3.9/urllib/request.py in error(self, proto, *args) 553 http_err = 0 554 args = (dict, proto, meth_name) + args --> 555 result = self._call_chain(*args) 556 if result: 557 return result ~/opt/anaconda3/lib/python3.9/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) 492 for handler in handlers: 493 func = getattr(handler, meth_name) --> 494 result = func(*args) 495 if result is not None: 496 return result ~/opt/anaconda3/lib/python3.9/urllib/request.py in http_error_302(self, req, fp, code, msg, headers) 745 fp.close() 746 --> 747 return self.parent.open(new, timeout=req.timeout) 748 749 http_error_301 = http_error_303 = http_error_307 = http_error_302 ~/opt/anaconda3/lib/python3.9/urllib/request.py in open(self, fullurl, data, timeout) 521 for processor in self.process_response.get(protocol, []): 522 meth = getattr(processor, meth_name) --> 523 response = meth(req, response) 524 525 return response ~/opt/anaconda3/lib/python3.9/urllib/request.py in http_response(self, request, response) 630 # request was successfully received, understood, and accepted. 631 if not (200 <= code < 300): --> 632 response = self.parent.error( 633 'http', request, response, code, msg, hdrs) 634 ~/opt/anaconda3/lib/python3.9/urllib/request.py in error(self, proto, *args) 559 if http_err: 560 args = (dict, 'default', 'http_error_default') + orig_args --> 561 return self._call_chain(*args) 562 563 # XXX probably also want an abstract factory that knows when it makes ~/opt/anaconda3/lib/python3.9/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) 492 for handler in handlers: 493 func = getattr(handler, meth_name) --> 494 result = func(*args) 495 if result is not None: 496 return result ~/opt/anaconda3/lib/python3.9/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs) 639 class HTTPDefaultErrorHandler(BaseHandler): 640 def http_error_default(self, req, fp, code, msg, hdrs): --> 641 raise HTTPError(req.full_url, code, msg, hdrs, fp) 642 643 class HTTPRedirectHandler(BaseHandler): HTTPError: HTTP Error 403: Forbidden 인터넷을 찾아보면 권한 수락 오류라고 뜨기도 하는데 어떻게 해결해야할 지 모르겠습니다. 도움주시면 감사하겠습니다.

아아어어 댓글 1 좋아요 0 조회수 74

피그마 토큰 플러그인

해결됨

디자인 시스템 with 피그마

안녕하세요. 6:15 에 나오는 'Create Style' 버튼이 안보이는데 최신 버전의 플러그인 기준으로 알려주실 수 있나요 ?

  • figma
  • figma-tokens
  • 디자인-시스템
  • 아토믹-디자인
  • 프로덕트디자인
댓글 2 좋아요 1 조회수 331

netflix clone 할 때 recoil을 하는 순간 에러가 없어지지 않아요

해결됨

[풀스택 완성] Supabase로 웹사이트 3개 클론하기 (Next.js 14)

✅ 모든 질문들은 슬랙 채널에서 답변드리고 있습니다. 💡 ”로펀의 인프런 상담소” 슬랙 채널 가입하기 💡 평일중에는 퇴근 이후(저녁 7시)에 답변을 받아보실 수 있고, 주말중에는 상시 답변드리고 있습니다. 깃허브에 올라온 선생님 코드를 모두 복붙해봐도 없어지지 않는데 무엇이 문제일까요? 선생님 코드와 같은데..

  • firebase
  • next.js
  • tailwindcss
  • react-query
  • supabase
  • recoil
김지유 댓글 3 좋아요 2 조회수 348

[코틀린 코루틴의 정석 책 추첨 이벤트] 강의 구매 기간 관련 문의

해결됨

코틀린 코루틴 완전 정복

안녕하세요 강사님! 책 추첨 이벤트 관련 내용을 보고 강의 구매 기간 에 관련하여 여쭤보고 싶은 사항이 있어서 글을 남기게 됐습니다. 여기에 말씀해주신 기간(25.12.19 ~ 26.1.18)에 강의를 구매한 사람만 해당 이벤트에 참여할 수 있는 걸까요 ?? (기간 이전에 강의를 구매한 사람은 해당되지 않는 지 궁금합니다) 감사합니다.

  • android
  • kotlin
  • coroutine
  • kotlinx.coroutines
  • android-coroutine
denia park 댓글 1 좋아요 1 조회수 257

[코루틴 테스트 심화] runTest의 스레드 관련 문의

해결됨

코틀린 코루틴 완전 정복

안녕하세요 강사님! 강의 복습 중에 runTest 관련 문의가 있어서 다음과 같이 질문을 남기게 됐습니다. 코루틴 테스트 심화 강의의 4:07초에 시작되는 부분을 보면 runTest를 호출해 실행되는 코루틴은 메인 스레드를 사용한다 라고 해주셨습니다. 제가 실제로 runTest 를 이용해 코드를 실행시켜 보니 Test worker 스레드를 사용하고 있다고 나왔습니다. 실행 코드 @Test fun `메인 스레드만 사용하는 runTest`() = runTest { println("[${Thread.currentThread().name}] 메인 시작") delay(100) println("[${Thread.currentThread().name}] 메인 종료") } 결과 [Test worker @kotlinx.coroutines.test runner#2] 메인 시작 [Test worker @kotlinx.coroutines.test runner#2] 메인 종료 실제 사용되는 스레드는 Test worker 스레드 이지만, 테스트 코드에서 실행될 때 Test worker 스레드가 메인 스레드 처럼 동작하기 때문에 메인 이라고 말씀해주신 걸까요?? 감사합니다!

  • android
  • kotlin
  • coroutine
  • kotlinx.coroutines
  • android-coroutine
denia park 댓글 2 좋아요 1 조회수 201

3-L DFS 재귀 vs. 반복문

해결됨

10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트

안녕하세요, 큰돌님. 강의 잘 듣고 있습니다. DFS 재귀 vs. 반복문 구현 방법을 결정하는 기준 에 대해 여쭙고 싶습니다. 제가 현재 고민중인 접근 방식은 다음과 같습니다: 1. 완전 탐색(완탐) 문제의 경우 일단 재귀로 구현 2. 엣지 케이스 테스트 시 메모리 초과(Memory Overflow) 또는 시간 초과(Time Overflow)가 발생하면 반복문으로 변경 코딩 테스트(코테)의 경우, 위와 같은 접근 방식이 적절할 지 조언을 부탁드리겠습니다. 재귀로 풀면 쉽게 풀리는 걸 알았지만 DFS를 반복문으로 구현 하면 디버깅이나 메모리 측면에서 유리하다고 알고 있어, 이번 문제를 오기로 반복문으로 접근하여 풀고자 했습니다. 그러나 결과적으로 재귀로 작성한 코드보다 성능이 낮게 측정되었습니다. 여러 최적화 끝에 다음과 같은 코드를 작성했는데, 큰돌님께서 작성하신 코드보다 메모리를 4KB 더 소모 하고, 실행 시간이 26ms 더 느리게 측정되었습니다. 테스트 케이스에 따라 제 코드가 더 빠르게 동작할 수도있겠지만 결과적으로, 어떤 문제는 반복문으로, 어떤 문제는 재귀로 풀어야 적절할지 를 어떻게 결정하지? 가 의문으로 남아 질문드립니다! #include <bits/stdc++.h> using namespace std; const int dy[4] = {1, 0, -1, 0}; const int dx[4] = {0, 1, 0, -1}; int R, C; int grid[20][20]; inline bool is_valid(int y, int x) { return (0 <= y && y < R && 0 <= x && x < C); } int iterative_dfs() { stack<tuple<int, int, int, int>> st; int startMask = (1 << grid[0][0]); st.push({0, 0, 1, startMask}); int maxDepth = 0; while (!st.empty()) { auto [y, x, depth, used] = st.top(); st.pop(); maxDepth = max(maxDepth, depth); for (int i = 0; i < 4; i++) { int ny = y + dy[i]; int nx = x + dx[i]; if (!is_valid(ny, nx)) continue; int alpha = grid[ny][nx]; if (used & (1 << alpha)) continue; int nextUsed = used | (1 << alpha); st.push({ny, nx, depth + 1, nextUsed}); } } return maxDepth; } int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin >> R >> C; for (int i = 0; i < R; i++) { for (int j = 0; j < C; j++) { char tmp_c; cin >> tmp_c; grid[i][j] = tmp_c - 'A'; } } cout << iterative_dfs() << "\n"; return 0; }

  • c++
  • 코딩-테스트
김팥죽 댓글 1 좋아요 0 조회수 115

실행과정에서의 문제

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part2: 게임 수학과 DirectX12

Engine을 빌드까지는 정상적으로 성공이 되었습니다. 근데 빌드하고 나서 디버깅을 해서 실행을 하면 프로그램을 시작할 수 없다고 뜹니다. C:\Users~Engline.lib은 올바른 Win32 애플리케이션이 아닙니다라고 뜹니다. 그래서 Engine의 속성에 들어가서 구성형식으로 들어가 정적 라이브러리(.lib)로도 설정을 해보고 혹시 몰라 Client에 들어가 구성형식을 정적라이브러리로도 바꿔봤는데 무슨 문제인지 잘 모르겠습니다. 코드에는 이상이 없었는데 이런 경우에는 어떻게 해야되나요?

  • directx
  • 게임수학
아코코 댓글 3 좋아요 0 조회수 458

my-app 보안그룹 설정할때 alb db port여는 이유가 궁금합니다..

해결됨

아키텍처 설계 및 구현 (기초편)

app 보안 그룹 설정하는데 alb db port는 왜 여는거에요? db 호출은 app에서 db로 호출하는경우만 있는거 아닌가요?? 제가 아직 실습은 안하고 강의만 보다가 궁금해서..

  • 아키텍처
  • n-tier-architecture
MelodyYoung 댓글 1 좋아요 1 조회수 182

return ModelAndView

미해결

스프링 MVC 2편 - 백엔드 웹 개발 활용 기술

학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. return new ModelAndView()를 할때 그대로 정상 리턴된다는 말씀을 제가 제대로 이해한게 맞는지 여쭤보고 싶습니다. response.sendError를 가지고 return new ModelAndView()를 하게 되면 view랜더링 없이 was로 돌아가게 되서 다시 error를 확인하고 그에러에맞는 컨트롤러로 보내는걸로 알고있습니다. 그러면 원래 스프링이 정상작동할때도 뷰랜더링 한다음에 was로 돌아가는건가요?

  • spring
  • mvc
jh06_04jh 댓글 1 좋아요 0 조회수 130

select_type 에서 'simple' 경우 각각의 테이블이 '드라이빙' 또는 '드리븐' 인지 어떻게 알수 있나요?

미해결

업무에 바로 쓰는 SQL 튜닝

안녕하세요. 우선 좋은 강의 만들어주셔서 정말 감사합니다 :) select_type 에서 'simple' 경우 각각의 테이블이 '드라이빙' 또는 '드리븐' 인지 어떻게 알수 있나요? 5-2. 실행계획 항목(1) -> 05:40 영상을 확인해보면 실행계획에서 table 필드 값 "e" 하고 "s" 가 있는데요. 여기서 질문 2가지가 있습니다. 질문1: 여기서 각각의 테이블이 '드라이빙' 또는 '드리븐' 인지 어떻게 알수 있나요? (실행 계획 통해 조회된 데이터 순서대로 판단하면 되는것인지... 궁금하네요.. 그런데 이걸로 100% 판단하기에 조금 어렵다고 들어서요...) 질문2: 만약 테이블 "e" 가 드라이빙 테이블이라고 가정시 실질적으로 쿼리 수행할때 테이블 "e" 에 대한 where 절 조건을 이용해서 먼저 필터링 한다음에 테이블 "s" 하고 조인 수행을 하는것인지 궁금 합니다. 즉 드리아빙 테이블 조건절 이용해서 최대한 필터링 하고 그다음 드이븐 테이블하고 조인을 수행하는지 궁금합니다.

  • sql
  • mysql
  • dbms/rdbms
  • mariadb
  • query-tuning
리나 댓글 0 좋아요 0 조회수 125

CS0618 SqlConnection

해결됨

ASP.NET Core MVC +ASP.NET Core +REST API +.NET 8.0

11강 따라하다가 상단에 using System.Data .SqlClient; 설치도 잘 돼서 선언도 됐는데 using (SqlConnection sqlConnection = new SqlConnection(connectionString)) 이부분에 경고 CS0618 'SqlConnection'은(는) 사용되지 않습니다. 'Use the Microsoft.Data .SqlClient package instead.' 이런 경고가 나옵니다. 이것을 어떻게 수정해야 하나요?

  • C#
  • mvc
  • rest-api
  • 아키텍처
  • mssql
  • ef-core
  • asp.net-core
최봉석 댓글 1 좋아요 0 조회수 280

예외가 존재할 가능성?

미해결

파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)

회의가 끝나는 시간이 가장 일찍인 경우부터 개수를 구하는데, 만일 입력예제가 5 1 4 2 3 3 7 4 6 6 7 이런식이면 끝나는 시간순으로 구하는게, 회의실을 사용할 수 있는 최대수의 회의가 아니지 않나요? 영상의 방법이 모든경우의 예제에 적용이 되는지 궁금해서 질문 올렸습니다.

  • python
  • 코딩-테스트
heewon221 댓글 1 좋아요 0 조회수 115

arm mode

미해결

시스템 소프트웨어 개발을 위한 Arm 아키텍처의 구조와 원리 - 2부 저자 직강 (2024년 버전)

안녕하세요 ARM 에서 sys mode 나 undef 모드나 이런 것들은 virtual memory 를 사용하지 못할 것 같은데, (kernel 이 virtual memory를 지원할 것 같아서요) 그러면 다른 모드는 physical memory 기반 assembly code 로 작성이 되나요? 감사합니다

  • 임베디드
  • arm-architecture
  • 하드웨어-해킹
  • cpu-architecture
  • armv7
  • armv8
  • cortex-a
platformpjt02 댓글 2 좋아요 0 조회수 143

수강기간 연장문의

미해결

AWS Certified Solutions Architect - Associate 자격증 준비하기

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 선생님 새로 이직을 준비하는 과정에 있어서 수강을 제대로 하지 못했습니다ㅜ 연장이 가능할까요,,

  • 네트워크
  • aws
김혜미 댓글 2 좋아요 0 조회수 106

설치경로 지정이 잘 안돼요.

해결됨

삼각형의 실전! CMake 초급

--install-prefix 를 특정 폴더를 지정하였는데도 실제 --target install 을 해보면, 자꾸 program files (x86) 에 가서 설치가 되는데 이건 왜그러는걸까요..? -- Install configuration: "Debug" -- Installing: C:/Program Files (x86)/installing/lib/foo.lib -- Installing: C:/Program Files (x86)/installing/include/foo.h -- Installing: C:/Program Files (x86)/installing/lib/cmake/installing/installing-config.cmake -- Installing: C:/Program Files (x86)/installing/lib/cmake/installing/installing-config-debug.cmake

  • c++
  • cmake
  • vcpkg
그릿 댓글 1 좋아요 0 조회수 188

웹뷰 패키지 오류

해결됨

[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!

그 전에는 이런 일이 없었는데 요번 프로젝트에서 이 에러가 떠서 진행하지 못하고 있습니다. 제가 시도 해본 것들 JDK21 설치 (환경 변수 설정까지) JDK17설치 (환경 변수 설정까지) flutter clean, flutter pub get API 34, 35 둘 다 실행, 다른 프로젝트에서는 변함없이 잘 됩니다. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':webview_flutter_android:compileDebugJavaWithJavac'. > Could not resolve all files for configuration ':webview_flutter_android:androidJdkImage'. > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JdkImageTransform: C:\Users\82106\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar. > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\temp\jmod --add-modules java.base --output C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\jdkImage --disable-plugin system-modules} * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 28s ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐ │ [!] This is likely due to a known bug in Android Gradle Plugin (AGP) versions less than 8.2.1, │ │ when │ │ 1. setting a value for SourceCompatibility and │ │ 2. using Java 21 or above. │ │ To fix this error, please upgrade your AGP version to at least 8.2.1. The version of AGP that │ │ your project uses is likely defined in: │ │ C:\Users\82106\webview\android\settings.gradle, │ │ in the 'plugins' closure (by the number following "com.android.application"). │ │ Alternatively, if your project was created with an older version of the templates, it is likely │ │ in the buildscript.dependencies closure of the top-level build.gradle: │ │ C:\Users\82106\webview\android\build.gradle, │ │ as the number following "com.android.tools.build:gradle:". │ │ │ │ For more information, see: │ │ https://issuetracker.google.com/issues/294137077 │ │ https://github.com/flutter/flutter/issues/156304 │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ Error: Gradle task assembleDebug failed with exit code 1

  • flutter
  • 클론코딩
댓글 2 좋아요 0 조회수 710

웹뷰 패키지 오류

미해결

[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!

그 전에는 이런 일이 없었는데 요번 프로젝트에서 이 에러가 떠서 진행하지 못하고 있습니다. 제가 시도 해본 것들 JDK21 설치 (환경 변수 설정까지) JDK17설치 (환경 변수 설정까지) flutter clean, flutter pub get API 34, 35 둘 다 실행, 다른 프로젝트에서는 변함없이 잘 됩니다. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':webview_flutter_android:compileDebugJavaWithJavac'. > Could not resolve all files for configuration ':webview_flutter_android:androidJdkImage'. > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. > Execution failed for JdkImageTransform: C:\Users\82106\AppData\Local\Android\sdk\platforms\android-34\core-for-system-modules.jar. > Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\temp\jmod --add-modules java.base --output C:\Users\82106\.gradle\caches\transforms-3\fb247f22548bfd545efa0cbc10d96775\transformed\output\jdkImage --disable-plugin system-modules} * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 28s ┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────────┐ │ [!] This is likely due to a known bug in Android Gradle Plugin (AGP) versions less than 8.2.1, │ │ when │ │ 1. setting a value for SourceCompatibility and │ │ 2. using Java 21 or above. │ │ To fix this error, please upgrade your AGP version to at least 8.2.1. The version of AGP that │ │ your project uses is likely defined in: │ │ C:\Users\82106\webview\android\settings.gradle, │ │ in the 'plugins' closure (by the number following "com.android.application"). │ │ Alternatively, if your project was created with an older version of the templates, it is likely │ │ in the buildscript.dependencies closure of the top-level build.gradle: │ │ C:\Users\82106\webview\android\build.gradle, │ │ as the number following "com.android.tools.build:gradle:". │ │ │ │ For more information, see: │ │ https://issuetracker.google.com/issues/294137077 │ │ https://github.com/flutter/flutter/issues/156304 │ └──────────────────────────────────────────────────────────────────────────────────────────────────┘ Error: Gradle task assembleDebug failed with exit code 1

  • flutter
  • 클론코딩
댓글 2 좋아요 0 조회수 316

인스턴스 생성 중 오류

미해결

지금 당장 리눅스 - 무료 클라우드 서버 활용하기

인스턴스 생성 - Ubuntu 리눅스 6번 시행 후 Create을 눌렀는데 "Out of capacity for shape VM.Standard.A1.Flex in availability domain AD-1. Create the instance in a different availability domain or try again later. If you specified a fault domain, try creating the instance without specifying a fault domain, otherwise try creating the instance in a different availability domain. If that doesn’t work, please try again later" 위의 오류가 나왔습니다. 보기로는 오라클 측에서 용량이 없다는 이유로 안된다는 것 같은데 다른 방법이 있나요?

  • linux
  • oracle
Hunter 댓글 2 좋아요 0 조회수 2675

메일버튼 클릭하고 하단바에 메일버튼을 클릭하려고 하니까 ElementClickInterceptedException 이 발생했어요.

미해결

[신규 개정판] 이것이 진짜 크롤링이다 - 실전편 (인공지능 수익화)

user_id = '****' user_pw = '****' from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time import pyperclip #드라이버 생성 driver = webdriver.Chrome() driver.implicitly_wait(10) #페이지 이동 driver.get("https://nid.naver.com/nidlogin.login?mode=form&url=https://www.naver.com/") time.sleep(1) #아이디 입력 id = driver.find_element(By.CSS_SELECTOR, '#id') pyperclip.copy(user_id) #클립보드라는 공간에 user_id를 복사해놓음. id.send_keys(Keys.CONTROL, 'v') #붙여넣기. time.sleep(1) #비밀번호 입력 pw = driver.find_element(By.CSS_SELECTOR, '#pw') pyperclip.copy(user_pw) #클립보드라는 공간에 user_pw를 복사해놓음. pw.send_keys(Keys.CONTROL, 'v') time.sleep(1) #로그인 버튼 클릭 driver.find_element(By.CSS_SELECTOR, '#log\\.login').click() # 메일 버튼 클릭 driver.find_element(By.CSS_SELECTOR, '#account > div.MyView-module__my_menu___eF24q > div > div > ul > li:nth-child(1) > a > span.MyView-module__item_text___VTQQM').click() driver.find_element(By.CSS_SELECTOR, '#account > div.MyView-module__layer_menu_service___NqMyX > div.MyView-module__service_sub___wix9p > div.MyView-module__sub_left___AIWHR > a').click() #새창으로 전환 driver.switch_to.window(driver.window_handles[1]) # 메일쓰기 버튼 클릭 driver.find_element(By.CSS_SELECTOR, '#root > div > nav > div > div.lnb_header > div.lnb_task > a.item.button_write').click() # 받는 사람 driver.find_element(By.CSS_SELECTOR, '#recipient_input_element').send_keys('gnslgnsdl@naver.com') # 제목 driver.find_element(By.CSS_SELECTOR, '#subject_title').send_keys('연습') #서브페이지로 이동 iframe = driver.find_element(By.CSS_SELECTOR, '#content > div.contents_area > div > div.editor_area > div > div.editor_body > iframe') driver.switch_to.frame(iframe) #본문 driver.find_element(By.CSS_SELECTOR, '#log\\.login').send_keys('연습중') #다시 메인페이지로 이동 driver.switch_to.default_content() #보내기 버튼 클릭 driver.find_element(By.CSS_SELECTOR, '#content > div.mail_toolbar.type_write > div:nth-child(1) > div > button.button_write_task').click() 에러내용: 예외가 발생했습니다. ElementClickInterceptedException Message: element click intercepted: Element <a href=" https://mail.naver.com/ " target="_blank" class="MyView-module__link_service___Ok8hP">...</a> is not clickable at point (937, 789). Other element would receive the click: <a href="#" role="button" class="SettingView-module__btn_setting___Z_3Uu SettingView-module__type_top___GkN8V" aria-pressed="false">...</a> (Session info: chrome=131.0.6778.205) Stacktrace: GetHandleVerifier [0x00007FF6E6F2FB05+28789] (No symbol) [0x00007FF6E6E986E0] (No symbol) [0x00007FF6E6D3592A] (No symbol) [0x00007FF6E6D90FDE] (No symbol) [0x00007FF6E6D8EA7C] (No symbol) [0x00007FF6E6D8BC46] (No symbol) [0x00007FF6E6D8ABA1] (No symbol) [0x00007FF6E6D7CD60] (No symbol) [0x00007FF6E6DAF43A] (No symbol) [0x00007FF6E6D7C5B6] (No symbol) [0x00007FF6E6DAF650] (No symbol) [0x00007FF6E6DCF654] (No symbol) [0x00007FF6E6DAF1E3] (No symbol) [0x00007FF6E6D7A938] (No symbol) [0x00007FF6E6D7BAA1] GetHandleVerifier [0x00007FF6E726933D+3410093] GetHandleVerifier [0x00007FF6E727E7DD+3497293] GetHandleVerifier [0x00007FF6E7272A73+3448803] GetHandleVerifier [0x00007FF6E6FF7BBB+848171] (No symbol) [0x00007FF6E6EA3C3F] (No symbol) [0x00007FF6E6E9F6E4] (No symbol) [0x00007FF6E6E9F87D] (No symbol) [0x00007FF6E6E8ED49] BaseThreadInitThunk [0x00007FF906E3259D+29] RtlUserThreadStart [0x00007FF90852AF38+40] File " C:\Users\gnslg\OneDrive\ 바탕 화면\PYTHON_CRAWLLING\셀레니움실전테크닉\ 06네이버메일자동화.py ", line 36, in <module> driver.find_element(By.CSS_SELECTOR, '#account > div.MyView-module__layer_menu_service___NqMyX > div.MyView-module__service_sub___wix9p > div.MyView-module__sub_left___AIWHR > a').click() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <a href=" https://mail.naver.com/ " target="_blank" class="MyView-module__link_service___Ok8hP">...</a> is not clickable at point (937, 789). Other element would receive the click: <a href="#" role="button" class="SettingView-module__btn_setting___Z_3Uu SettingView-module__type_top___GkN8V" aria-pressed="false">...</a> (Session info: chrome=131.0.6778.205) Stacktrace: GetHandleVerifier [0x00007FF6E6F2FB05+28789] (No symbol) [0x00007FF6E6E986E0] (No symbol) [0x00007FF6E6D3592A] (No symbol) [0x00007FF6E6D90FDE] (No symbol) [0x00007FF6E6D8EA7C] (No symbol) [0x00007FF6E6D8BC46] (No symbol) [0x00007FF6E6D8ABA1] (No symbol) [0x00007FF6E6D7CD60] (No symbol) [0x00007FF6E6DAF43A] (No symbol) [0x00007FF6E6D7C5B6] (No symbol) [0x00007FF6E6DAF650] (No symbol) [0x00007FF6E6DCF654] (No symbol) [0x00007FF6E6DAF1E3] (No symbol) [0x00007FF6E6D7A938] (No symbol) [0x00007FF6E6D7BAA1] GetHandleVerifier [0x00007FF6E726933D+3410093] GetHandleVerifier [0x00007FF6E727E7DD+3497293] GetHandleVerifier [0x00007FF6E7272A73+3448803] GetHandleVerifier [0x00007FF6E6FF7BBB+848171] (No symbol) [0x00007FF6E6EA3C3F] (No symbol) [0x00007FF6E6E9F6E4] (No symbol) [0x00007FF6E6E9F87D] (No symbol) [0x00007FF6E6E8ED49] BaseThreadInitThunk [0x00007FF906E3259D+29] RtlUserThreadStart [0x00007FF90852AF38+40] 메일버튼 클릭하고 하단바에 메일버튼을 클릭하려고 하니까 ElementClickInterceptedException 이 발생했어요. driver.find_element(By.CSS_SELECTOR, '#account > div.MyView-module__layer_menu_service___NqMyX > div.MyView-module__service_sub___wix9p > div.MyView-module__sub_left___AIWHR > a').click() 여기서 발생하는거 같은데 이유가 뭘까요..?

  • python
  • 웹-크롤링
gnslgnsdl3 댓글 1 좋아요 1 조회수 179

인기 태그

인프런 TOP Writers

주간 인기글