导入wordcloud库出错-ModuleNotFoundError: No module named wordcloud.query_integral_image

作者:Irain
QQ:2573396010
微信:18802080892

wordcloud库导入失败

      • 1 报错内容
      • 2 解决步骤
        • 2.1 删除多余同名wordcloud文件夹和不同版本wordcloud库(小编安装多个版本wordcloud库)
        • 2.2删除多余wordcloud库后,成功导入wordcloud库
      • 3 手动下载wordcloud:[https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud](https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud)

1 报错内容

Traceback (most recent call last):
File “”, line 1, in
import wordcloud
File “E:\Working\Python37-32\lib\wordcloud_init_.py”, line 1, in
from .wordcloud import (WordCloud, STOPWORDS, random_color_func,
File “E:\Working\Python37-32\lib\wordcloud\wordcloud.py”, line 26, in
from .query_integral_image import query_integral_image
ModuleNotFoundError: No module named ‘wordcloud.query_integral_image’

2 解决步骤

2.1 删除多余同名wordcloud文件夹和不同版本wordcloud库(小编安装多个版本wordcloud库)

导入wordcloud库出错-ModuleNotFoundError: No module named wordcloud.query_integral_image_第1张图片

2.2删除多余wordcloud库后,成功导入wordcloud库

导入wordcloud库出错-ModuleNotFoundError: No module named wordcloud.query_integral_image_第2张图片

3 手动下载wordcloud:https://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud

导入wordcloud库出错-ModuleNotFoundError: No module named wordcloud.query_integral_image_第3张图片
发布:2020年5月29日

你可能感兴趣的:(python)