word_cloud: Failed to import wordcloud - DLL load failed
Hey,
I am getting the error as below:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-14-dc1828f2a80e> in <module>()
----> 1 import wordcloud
~\AppData\Local\Continuum\anaconda3\lib\site-packages\wordcloud\__init__.py in <module>()
----> 1 from .wordcloud import (WordCloud, STOPWORDS, random_color_func,
2 get_single_color_func)
3 from .color_from_image import ImageColorGenerator
4
5 __all__ = ['WordCloud', 'STOPWORDS', 'random_color_func',
~\AppData\Local\Continuum\anaconda3\lib\site-packages\wordcloud\wordcloud.py in <module>()
17 from operator import itemgetter
18
---> 19 from PIL import Image
20 from PIL import ImageColor
21 from PIL import ImageDraw
~\AppData\Local\Continuum\anaconda3\lib\site-packages\PIL\Image.py in <module>()
56 # Also note that Image.core is not a publicly documented interface,
57 # and should be considered private and subject to change.
---> 58 from . import _imaging as core
59 if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
60 raise ImportError("The _imaging extension was built for another "
ImportError: DLL load failed: The specified module could not be found.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (14 by maintainers)
it’s because your file is called
wordcloud.py
.