close

[Solved] ImportError: No module named ‘wordcloud’

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error ImportError: No module named ‘wordcloud’ in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How ImportError: No module named ‘wordcloud’ Error Occurs?

Today I get the following error ImportError: No module named ‘wordcloud’ in python.

How To Solve ImportError: No module named ‘wordcloud Error ?

  1. How To Solve ImportError: No module named 'wordcloud Error ?

    To Solve ImportError: No module named 'wordcloud Error conda install -c conda-forge wordcloud=1.6.0
    at anaconda prompt worked for me
    Try using latest version of worldcloud

  2. ImportError: No module named 'wordcloud'

    To Solve ImportError: No module named 'wordcloud Error conda install -c conda-forge wordcloud=1.6.0
    at anaconda prompt worked for me
    Try using latest version of worldcloud

Solution 1

first, check the python you are using with:

import sys
print(sys.executable)

then use the path it gives you and run in your jupyter terminal:

path/to/python -m pip install some_package

Which in my case is:

/anaconda3/bin/python -m pip install wordcloud

and import in your code:

from wordcloud import WordCloud

Solution 2

conda install -c conda-forge wordcloud=1.6.0 

at anaconda prompt worked for me

Try using latest version of worldcloud

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read