Search code examples
pythonpathbeautifulsoupeasy-install

Installing easy_install, NOT SO EASY


I am trying to install easy_install in order to use BeautifulSoup... However I have no clue what my PATH directory is... when I run easy_install BeautifulSoup.. I get

error: Not a recognized archive type: C:\docume~1\tom\locals~1\temp\weasy_install-w6haxs\BeautifulSoup-3.2.1.tar.gz

I am guessing this has something to do with the PATH that is not set up right in Environment Varibales..... But I have no clue what my Path should be... Any help would be appreciated... I am very new to all of this so speaking english rather than programming would be appreciated lol..


Solution

  • Install beautifulsoup is exactly what I did yesterday. These steps work for my windows 64:

    • Download and run ez_setup.py at http://peak.telecommunity.com/dist/ez_setup.py This will install easy_install.exe to python scripts directory. For me it is C:/python26/scripts

    • CD to C:/python26/scripts

    • Run easy_install.exe pip This will install pip.

    • Then run pip install beautifulsoup4 to get beautiful soup.

    Be sure to allow these tools access to the Internet in your firewall program.