Monday, August 06, 2012

Installing BeautifulSoup For Python 3 on Windows


Installing BeautifulSoup For Python 3
Environment: MS Windows 7


Python 3.4 or above:

Normally, the command for calling pip is pip3.4 as below

(Linux) #pip3.4 install beautifulsoup4 
(Windows) #python -m pip install beautifulsoup4
Successfully installed BeautifulSoup4-4.3.2


Previous Version (<3.4) 2015 Apr 13: pip is included in Python 3.4, solution below is not necessary
Did you encounter problem during install BeautifulSoup? For me (newbie) , YES
I tried the following command, but not work
>python setup.py install

Finally, I have find my way out. It's pretty simple acutally.

-----------------------------------------------------------------------------------------------------------------------
First of all, you must download BeautifulSoap version which able to support Python 3.

You can find the latest version here:
http://www.crummy.com/software/BeautifulSoup/bs4/download


How to Install?
You can easily install BS with easy_install

For the installation of easy_install (If you can't find it in C:\Python\Scripts\ )
download: http://pypi.python.org/packages/source/d/distribute/ 



Please see the picture below: