问题
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.
回答1:
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
.
回答2:
Windows 10 fix with Anaconda
conda install -c anaconda html5lib
ref: https://anaconda.org/anaconda/html5lib
来源:https://stackoverflow.com/questions/46729667/cannot-import-name-html5lib-error-while-installing-packages