0
Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 15 2017, 03:27:45) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wordcloud
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\ProgramData\Anaconda3\lib\site-packages\wordcloud\__init__.py", line 1, in <module>
    from .wordcloud import (WordCloud, STOPWORDS, random_color_func,
  File "C:\ProgramData\Anaconda3\lib\site-packages\wordcloud\wordcloud.py", line 19, in <module>
    from PIL import Image
  File "C:\ProgramData\Anaconda3\lib\site-packages\PIL\Image.py", line 56, in <module>
    from . import _imaging as core
ImportError: DLL load failed: 找不到指定的模块。
>>>

安装在正确的环境依旧出现此问题
参考网上类似问题的一些方法依旧解决不了
求助!

2018-02-15 提问
3 个回答
0

已采纳

已解决,重装Pillow模块。

0

感谢答主,问题已解决

0

感谢答主,问题已解决
推荐两个我得到帮助的帖子:
1.windows 64位安装Pillow模块替换PIL模块
http://blog.csdn.net/sunhuaqi...
2.pip安装报错,注意选择版本匹配问题
https://www.cnblogs.com/nice-...
最终成功安装了wordcloud.

撰写答案

你可能感兴趣的

推广链接