Failed to run BS4

26 views
Skip to first unread message

Chen Lenorld

unread,
Feb 16, 2018, 7:32:38 AM2/16/18
to beautifulsoup
Hi 

I have installed BS4 successfully but when I run it on IDLE, it shows: 

Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    from bs4 import BeautifulSoup
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/beautifulsoup4-4.6.0-py3.6.egg/bs4/__init__.py", line 35, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
zipimport.ZipImportError: bad local file header: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/beautifulsoup4-4.6.0-py3.6.egg'

Can someone please help me to have a look? 

Thanks. 


Reply all
Reply to author
Forward
0 new messages