Thanks, I reinstalled the 64bit version but get the same traceback in Python Shell, also usin ..from bs4. Regards, Marcus
-----Ursprüngliche Nachricht----- Von: Alan Gauld [mailto:alan.ga...@btinternet.com] Gesendet: Freitag, 1. Januar 2016 12:25 An: marcus lütolf <marcus.luet...@bluewin.ch>; tutor@python.org Betreff: Re: AW: [Tutor] trouble with beautiful soup 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 --- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor