[Tutor] trouble with beautiful soup

marcus lütolf marcus.luetolf at bluewin.ch
Fri Jan 1 05:21:15 EST 2016


Dear Pythonistas
Hi Alan,

yes, I typed it wrong(!!!!), "culpa mea". But the problem ist not quite solved, sorry to bother you further:
Althoug I get a postive message from the command window:

c:\Python27\Scripts>pip install beautifulsoup
Collecting beautifulsoup
  Downloading BeautifulSoup-3.2.1.tar.gz
Building wheels for collected packages: beautifulsoup
  Running setup.py bdist_wheel for beautifulsoup
  Stored in directory: C:\Users\marcus\AppData\Local\pip\Cache\wheels\0b\ca\15\397d8ca872cdde7f65c19b5cb26a67d14fd7ecdf13741b135a
Successfully built beautifulsoup
Installing collected packages: beautifulsoup
Successfully installed beautifulsoup-3.2.1

c:\Python27\Scripts>

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.
>>> import beautifulsoup

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import beutifulsoup
ImportError: No module named beautifulsoup
>>>

I get the same traceback even with wrong typing like 'beutifulsoup'.
That didn't happen on my laptop.
By the way, I just noticed in the first line of the shell it says  .....on win32. I'm running a 64bit w10 OS.
????

Thanks and regards, Marcus.
-----------------------------------------------------------------------------------------------------------------------------------------------


-----Ursprüngliche Nachricht-----
Von: Tutor [mailto:tutor-bounces+marcus.luetolf=bluewin.ch at python.org] Im Auftrag von Alan Gauld
Gesendet: Donnerstag, 31. Dezember 2015 18:54
An: tutor at python.org
Betreff: Re: [Tutor] trouble with beautiful soup

On 31/12/15 13:19, marcus lütolf wrote:

> c:\Python27\Scripts>pip install beutifulsoup

Is that really how you spell it?
Although I'd expect a different error if it isn't....

-- 
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


_______________________________________________
Tutor maillist  -  Tutor at python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the Tutor mailing list