2014년 11월 24일 월요일

Python 3.4에 BeautifulSoup 4설치하기

XML이나 HTML 데이터를 쉽게 파싱할 수 있는 BeautifulSoup4 설치하는 방법입니다.

일단 ez_setup.py를 돌려서 pip등이 설치되어 있어야 됩니다.
도스창을 열어서 아래와 같은 명령을 실행합니다.
c:\python34\python.exe ez_setup.py

정상적으로 설치가 되었으면 이번에는  c:\Python34\Scripts폴더로 이동합니다. 여기에 설치된 pip나 easy_install을 통해 모듈들을 인터넷상에서 다운로드 받아서 설치할 수 있습니다.

C:\Python34\Scripts>pip install BeautifulSoup4
Downloading/unpacking BeautifulSoup4
  Running setup.py (path:C:\Users\jonathan\AppData\Local\Temp\pip_build_jonathan
\BeautifulSoup4\setup.py) egg_info for package BeautifulSoup4

Installing collected packages: BeautifulSoup4
  Running setup.py install for BeautifulSoup4
    Skipping implicit fixer: buffer
    Skipping implicit fixer: idioms
    Skipping implicit fixer: set_literal
    Skipping implicit fixer: ws_comma

Successfully installed BeautifulSoup4
Cleaning up...

C:\Python34\Scripts>

댓글 없음:

댓글 쓰기

참고: 블로그의 회원만 댓글을 작성할 수 있습니다.

AI 딜레마 1부 - 일자리 종말론 - PD수첩 영상입니다.

  IT분야에서 강의를 하고 있지만 개발자와 강사의 숫자가 앞으로 급격하게 줄어들 것이라는 생각을 많이 하고 있습니다. 코로나블루가 아닌 AI블루가 업계에 충격을 주고 있습니다. ㅠㅠ ​ 영상을 보다 보면 AI의 영향을 받지 않는 분야가 있을까? 하는...