일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- vlm
- 딥러닝 엔트로피
- clip
- 1차 미분 마스크
- albert 모델
- 구글 서머 오브 코드 합격 후기
- albert: a lite bert for self-supervised learning of language representations
- albert 논문 리뷰
- 논문 요약
- 이미지 필터링
- 에지 검출
- 기계학습
- 객체 검출
- albert 논문
- Object detection article
- object detection
- gsoc 2025
- gsoc 후기
- 딥러닝 목적함수
- 구글 서머 오브 코드
- 논문 리뷰
- gsoc 합격 후기
- clip adapter
- 엔트로피란
- 원격 학습 안끊기게
- 구글 서머 오브 코드 후기
- albert paper
- mobilenetv1
- blip-2
- gsoc 2025 후기
- Today
- Total
My Vision, Computer Vision
[오류 모음]youtube-dl, pytube, youtube.py(NotFoundError, like_count, OSError) 본문
[오류 모음]youtube-dl, pytube, youtube.py(NotFoundError, like_count, OSError)
gyuilLim 2024. 3. 25. 17:041. youtube-dl 패키지 오류
ModuleNotFoundError: No module named 'youtube_dl'
혹은
ImportError: pafy: youtube-dl not found; you can use the internal backend by setting the environmental variable PAFY_BACKEND to "internal". It is not enabled by default because it is not as well maintained as the youtube-dl backend.
와 같은 에러가 발생하면 아래 명령어를 터미널에 실행
pip install youtube-dl
끝!
2. KeyError: 'like_count'
youtube-dl을 설치하고 다시 실행했을 때 이 에러가 발생한다면
pip install youtube-dl==2020.12.2
위 명령어를 다시 터미널에 실행해주면 해결된다.
3. youtube-dl OSError
OSError: ERROR: Unable to extract uploader id; please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version; see
https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
1. 이렇게 위와 같은 에러가 발생한다면, 에러 메시지에서 ctrl+F 로 youtube.py를 검색한다.
2. ctrl+왼쪽 마우스로 youtube.py 소스 파일로 이동해준다.
3. 소스 파일에서 ctrl+F로 'uploader_id': self._search_regex 부분을 검색한다.
4. 해당 라인을 주석 처리하고 밑의 코드를 바로 아래에 추가해준다.
'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
ctrl+S로 저장 후 창을 닫아준다. 끝!
'환경 설정' 카테고리의 다른 글
[원격 접속] Ubuntu Screen(스크린) 사용법 (1) | 2024.08.28 |
---|---|
[SSH 원격 접속] 딥러닝 학습 안끊기게 설정하는 법, 세션유지 (0) | 2024.05.09 |
[초간단]Ubuntu 20.04 Anaconda, pytorch 설치하기 (0) | 2024.03.13 |
[초간단]Ubuntu 20.04 Cuda toolkit 설치하기 (0) | 2024.03.13 |
[초간단]Ubuntu 20.04 Nvidia driver 설치(nvidia-smi) (0) | 2024.03.13 |