Hi Walter, dear pythonistas,

thank you ! 
replacing „beautifulsoup“ by „bs4“ in my code (2nd line) does not relieve the 
trace back I get.

 

In my directory C:\Python27\Lib I find the folder „beautifulsoup4-4-4-1“ in 
first place and the file „setup.py“ further down 

Upon opening „beautifulsoup4-4-4-1“,  „bs4“ appears as another folder among 
others and some  .py files.

(C:\Python27\Lib\beautifoulsoup4-4-4-1\bs4\)



2 days ago I watched a youtube video about installing beautifulsoup. There, the 
bs4 folder appeared direct in the Lib folder :

C:\Python27\Lib\bs4\.

 

Could this cause my trouble ?


By the way, I am using W10 64 bit as OS.


Regards, Marcus.

 

Von: Walter Prins [mailto:wpr...@gmail.com] 
Gesendet: Samstag, 26. Dezember 2015 03:13
An: marcus lütolf <marcus.luet...@bluewin.ch>
Cc: python mail list <tutor@python.org>
Betreff: Re: [Tutor] trouble with beautiful soup

 

Hi,

 

On 25 December 2015 at 20:28, Walter Prins <wpr...@gmail.com 
<mailto:wpr...@gmail.com> > wrote:

As mentioned previously, for BeautifulSoup 4, the package name is "bt4", so you 
would do 

 

import bt4

 

to test it.  

 

Of course, that should have been "bs4" not "bt4".  Apologies.

 

W

 



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

Reply via email to