Kuldeep Chaturvedi
Kuldeep Chaturvedi

Reputation: 53

cannot import name 'html5lib' error while installing packages

While installing mxnet package I am getting the error :

cannot import name 'html5lib'

& when I go for html5lib package installation I am getting the same error.

The full error message can be seen in the image.

I have installed python using Anaconda.

Upvotes: 4

Views: 4519

Answers (2)

Eli Peters
Eli Peters

Reputation: 420

Windows 10 fix with Anaconda

conda install -c anaconda html5lib

ref: https://anaconda.org/anaconda/html5lib

Upvotes: 3

vburca
vburca

Reputation: 228

Try running conda update -f html5lib which will try to update your html5lib. I also encountered this after installing something (tensorflow) through conda that had to downgrade html5lib and that broke everything for pip.

Upvotes: 1

Related Questions