[Tutor] trouble with beautiful soup
Alan Gauld
alan.gauld at btinternet.com
Fri Jan 1 06:24:35 EST 2016
On 01/01/16 10:21, marcus lütolf wrote:
> But I get a traceback if I try to run beautifulsoup in Python:
>
> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
> By the way, I just noticed in the first line of the shell it says
> .....on win32. I'm running a 64bit w10 OS.
Looks like you installed 32 bit Python 2.7. That will run on 64bit OS
but not optimally.
If you re-install 2.7 with the 64 bit installer that should work.
Not sure about the import problem. Are you sure the imported
module/package name is beautifulsoup rather than bs or similar?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list