cannot import name 'html5lib' error while installing packages

会有一股神秘感。 提交于 2019-12-10 15:42:38

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!