Install python modules?

I have a python script to run that calls BeautifulSoup for web parsing. Can anyone suggest how to install BeautifulSoup so I can access it?


somehow a friend of mine was able to get beautiful soup installed and it worked. But not correctly. When I run this command:

import urllib2
from BeautifulSoup import BeautifulSoup

page = urllib2.urlopen(“”)

the first two lines work. But the urllib2.urlopen doesn’t work. I get this error from which has to do with something on line 124 of the

return, data, timeout)

Any help from anyone that has this working correctly would be great :slight_smile:

to matthewcroberts:

I was able to install the soup from this page

I had to change the filepath to where i put the soup.
/home/username/bin/python build

I put the soup file here and then unzipped it

I hope that helps and let me know if it works for you

What do you mean have to "change the file path " and "put the soup file here "?