dgorissen / coursera-dl

A script for downloading course material (video's, pdfs, quizzes, etc) from coursera.org
http://dirkgorissen.com/2012/09/07/coursera-dl-a-coursera-download-script/
GNU General Public License v3.0
1.74k stars 300 forks source link

No module named html.entities #7

Closed TashiDundrup closed 11 years ago

TashiDundrup commented 11 years ago

Dear Dirk,

Thanks for writing this module. I have the following error arise, even though pip install says my beautifulsoup4 is up to date:

"Traceback (most recent call last): File "D:\Documents\Desktop\Coursera\coursera-dl.py", line 9, in from bs4 import BeautifulSoup File "C:\Python27\lib\site-packages\bs4init.py", line 29, in from .builder import builder_registry File "C:\Python27\lib\site-packages\bs4\builderinit.py", line 4, in from bs4.element import ( File "C:\Python27\lib\site-packages\bs4\element.py", line 5, in from bs4.dammit import EntitySubstitution File "C:\Python27\lib\site-packages\bs4\dammit.py", line 11, in from html.entities import codepoint2name ImportError: No module named html.entities"

On Windows vista

What do you recommend?

dgorissen commented 11 years ago

The only thing I can think of is this: http://www.crummy.com/software/BeautifulSoup/bs4/doc/#problems-after-installation

Can you double check that your only python installation is 2.7. Sames goes for your pip installation.