i am installing wordcloud using pip but i am unable to do that ....i am getting the following error

0 votes
Running setup.py install for wordcloud ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-d59ym4jh\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-d59ym4jh\\wordcloud\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\hp\AppData\Local\Temp\pip-record-sirl50wk\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python38\Include\wordcloud'
         cwd: C:\Users\hp\AppData\Local\Temp\pip-install-d59ym4jh\wordcloud\
    Complete output (26 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.8
    creating build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\color_from_image.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\tokenization.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\wordcloud.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\wordcloud_cli.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\_version.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\__init__.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\__main__.py -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\stopwords -> build\lib.win-amd64-3.8\wordcloud
    copying wordcloud\DroidSansMono.ttf -> build\lib.win-amd64-3.8\wordcloud
    UPDATING build\lib.win-amd64-3.8\wordcloud/_version.py
    set build\lib.win-amd64-3.8\wordcloud/_version.py to '1.6.0'
    running build_ext
    building 'wordcloud.query_integral_image' extension
    creating build\temp.win-amd64-3.8
    creating build\temp.win-amd64-3.8\Release
    creating build\temp.win-amd64-3.8\Release\wordcloud
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\python38\include -Ic:\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /Tcwordcloud/query_integral_image.c /Fobuild\temp.win-amd64-3.8\Release\wordcloud/query_integral_image.obj
    query_integral_image.c
    c:\python38\include\pyconfig.h(206): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-d59ym4jh\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\hp\\AppData\\Local\\Temp\\pip-install-d59ym4jh\\wordcloud\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\hp\AppData\Local\Temp\pip-record-sirl50wk\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python38\Include\wordcloud' Check the logs for full command output.
Feb 20 in Python by Prajwala
• 120 points
248 views

Hey @prajwala,

How are you trying to install?

 pip install wordcloud 

Is this the way you are trying?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
0 answers

I am trying to install PyBase64 on my python 3.8. But I end up with the following error:

$ pip install pybase ERROR: Could not find ...READ MORE

Mar 24 in Python by Nishant
• 140 points
154 views
0 votes
0 answers

I am trying to install os-win on my python 3.8. But I end up with the following error:

ERROR: Command errored out with exit status ...READ MORE

Mar 24 in Python by Nishant
• 140 points
134 views
+1 vote
1 answer
0 votes
1 answer
+1 vote
1 answer

I wanted to change the entire row where index is 9 how can i do that

Import the file as a pandas dataframe ...READ MORE

answered Sep 16, 2019 in Python by Rishi
88 views
0 votes
0 answers

I am trying to click the button but it is not working and it is drop list ..

<a class="quickreports btn btn3d tbbtn" href="javascript:" style="position:static" ...READ MORE

Dec 1, 2019 in Python by anonymous
• 120 points
121 views
0 votes
0 answers

I am trying to print each entry of the dataframe separately. The dataframe is created by the following code

import pandas as pd XYZ_web = {'Day':[1,2,3,4,5,6], 'Visitors':[1000,700,6000,1000,400,350], ...READ MORE

Jan 27 in Python by solo
• 120 points
203 views