일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 오류
- csv
- PHPStorm
- import data
- jupyter
- 따옴표 삭제
- cmd
- visualstudio code
- Python
- github token
- 파이썬
- DataGrip
- run sql script
- console창
- error
- localhost
- 에러
- 클론
- OrCAD 다운로드
- database
- 깃 토큰
- 데이터베이스
- vscode
- php
- github clone
- 단축키
- clone
- Visual Studio Code
- error 해결
- MySQL
- Today
- Total
개발 노트
파이썬 오류 해결 방법 : pip install BeautifulSoup : Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 본문
파이썬 오류 해결 방법 : pip install BeautifulSoup : Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
hayoung.dev 2020. 8. 6. 17:05pip install BeautifulSoup를 했을 때 오류 발생
ERROR: Command errored out with exit status 1: command: 'C:\Users\HM4\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HM4\\AppData\\Local\\Temp\\pip-install-3wq06y21\\BeautifulSoup\\setup.py'"'"'; __file__='"'"'C:\\Users\\HM4\\AppData\\Local\\Temp\\pip-install-3wq06y21\\BeautifulSoup\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\HM4\AppData\Local\Temp\pip-install-3wq06y21\BeautifulSoup\pip-egg-info' cwd: C:\Users\HM4\AppData\Local\Temp\pip-install-3wq06y21\BeautifulSoup\ Complete output (6 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\HM4\AppData\Local\Temp\pip-install-3wq06y21\BeautifulSoup\setup.py", line 3 "You're trying to run a very old release of Beautiful Soup under Python 3. This will not work."<>"Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'." ^ SyntaxError: invalid syntax ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
BeautifulSoup 뒤에 버전 4를 입력해야 함.
pip install BeautifulSoup4
위 캡쳐본과 같이
In [1]에 오류가 났지만
In [2]에서 BeautifulSoup 뒤에 4를 붙이고 오류가 해결된 것을 볼 수 있다.
'인턴 앱 개발 : 20.07.06~08.31 > Crawling : Python' 카테고리의 다른 글
파이썬을 이용한 크롤링 연습 소스코드 20/7/15 (0) | 2020.08.07 |
---|---|
파이썬 기초 사용하기(데이터 반환, 열의 이름 바꾸기) (0) | 2020.08.02 |
파이썬 셀레니움에서 error: unicodeescape \UXXXXXXXX escape 해결법 (0) | 2020.08.02 |
cmd로 python 입력할 때 오류 뜨는 경우 (0) | 2020.08.02 |
파이썬을 이용하여 크롤링(Crawling) 하기 20/7/16 (0) | 2020.08.02 |