Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install the Beautiful Soup module on the window 7?

I found the post at http://ricardianambivalence.com/2011/08/14/beautifulsoup-in-python-with-windows-7/

(I used python 2.6 and downloaded beautifulsoup4-4.1.3)

I could not find "BeautifulSoup.pyc" after run "setup.py"

Any suggest?

like image 573
ThanaDaray Avatar asked Dec 27 '22 13:12

ThanaDaray


1 Answers

To check whether your installation is successful, type in a Python shell (or any of your Python script):

from bs4 import BeautifulSoup

To install a pure python package such as beautifulsoup4, run:

C:\> pip install beautifulsoup4

To install pip, download get-pip.py and run:

C:\> python get-pip.py
like image 195
jfs Avatar answered Dec 31 '22 13:12

jfs