本文介绍了安装软件包时无法导入名称“html5lib"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装 mxnet 包时出现错误:

While installing mxnet package I am getting the error :

无法导入名称html5lib"

&当我进行 html5lib 包安装时,我遇到了同样的错误.

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

完整的错误消息可以在图片中看到.

The full error message can be seen in the image.

我已经使用 Anaconda 安装了 python.

I have installed python using Anaconda.

推荐答案

尝试运行 conda update -f html5lib,它将尝试更新您的 html5lib.我在通过 conda 安装了一些东西(tensorflow)后也遇到了这个问题,它不得不降级 html5lib 并且破坏了 pip.

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.

这篇关于安装软件包时无法导入名称“html5lib"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-02 21:00