[CentOS] Python requests 모듈 설치


파이썬에서 url 을 불러와서 파싱을 하려면 requests 모듈이 사용되는데 기본적으로 설치가 되어 있지 않으므로 설치해 주어야 합니다.

# python tistory-rss.py

Traceback (most recent call last):

  File "example.py", line 2, in <module>

    import requests

ImportError: No module named requests


아래 처럼 설치하면 됩니다.

# yum install python-pip

# pip install requests


블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,