Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- webtob 설치
- 맥북 개발자도구 단축키
- Vue js v-bind:key
- Jeus Webtob
- 웹투비제우스 연동
- json
- 로컬 세팅
- Mac 개발자도구
- 아비투스서평
- 아비투스후기
- 웰씽킹 서평
- 파이썬 크롤링
- 자바 툴 추천
- Mac vue js 설치
- VUE js 에러
- 쿵쿵나리
- 자바
- 맥북 사파리 개발자도구
- 도리스 메르틴
- Python
- JDK11 설치
- 제우스 웹투비 세팅
- Java
- 웹투비 제우스7
- 파이썬
- JAVA JDK 다운로드
- 맥북 vue.js 설치
- 웹투비 설정
- 서평
- 이선미
Archives
- Today
- Total
개발일기 정답찾기
[파이썬] SyntaxError Non-UTF-8 code starting with '\xea' in file 에러 해결 본문
IT/python
[파이썬] SyntaxError Non-UTF-8 code starting with '\xea' in file 에러 해결
유딩동 2021. 6. 19. 13:31안녕하세요 유딩동입니다.
파이썬 BeautifulSoup 예제를 실행하다가 다음과 같은 에러가 뜨는 상황이 발생하였습니다.
SyntaxError: Non-UTF-8 code starting with '\xea' in file C:\python_ws\bsTest.py on line 183, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Process finished with exit code 1
해결방법 맨위에 다음 코드를 삽입해줍니다.
# -*- coding: cp949 -*-
정상 작동 합니다. :D
'IT > python' 카테고리의 다른 글
[파이썬] py exe 변환 pyinstaller 실행파일(.exe) 만들기 (0) | 2021.06.10 |
---|
Comments