Failed building wheel for wordcloud 105

0 votes

Trying to install wordcloud on windows 7. Getting the following error
Failed to build wordcloud
Installing collected packages: wordcloud
Running setup.py install for wordcloud
 

Complete output from command C:\Users\nitin.agarwal\AppData\Local\Continuum
Anaconda3\python.exe -c "import setuptools, tokenize;file='C:\Users\NITIN~
1.AGA\AppData\Local\Temp\pip-build-r2gzu169\wordcloud\setup.py';exec(compi
le(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), fil
e, 'exec'))" install --record C:\Users\NITIN~1.AGA\AppData\Local\Temp\pip-gdv7
89h9-record\install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
running build_ext
building 'wordcloud.query_integral_image' extension
error: [WinError 2] The system cannot find the file specified
----------------------------------------

Command "C:\Users\nitin.agarwal\AppData\Local\Continuum\Anaconda3\python.exe -c
"import setuptools, tokenize;file='C:\Users\NITIN1.AGA\AppData\Local\T
emp\pip-build-r2gzu169\wordcloud\setup.py';exec(compile(getattr(tokenize, 'op
en', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install -
-record C:\Users\NITIN1.AGA\AppData\Local\Temp\pip-gdv789h9-record\install-reco
rd.txt --single-version-externally-managed --compile" failed with error code 1 i
n C:\Users\NITIN~1.AGA\AppData\Local\Temp\pip-build-r2gzu169\wordcloud
Sep 14, 2020 in Python by Rajiv
• 8,890 points
173 views

1 answer to this question.

0 votes

If you are running Python 3.5 you need VS2015. When you install it you have to make sure you select "Common Tools for Visual C++ 2015" under Programming Languages/Visual C++ as it is not checked by default. If you already installed VS2015, you need to do Change/Modify from Programs and Features under Control Panel. 

This worked for me. For reference, I'm running Anaconda3 2.4.1 with Python 3.5.1 x64. Hope this helped.

answered Sep 14, 2020 by Gitika
• 65,950 points

Related Questions In Python

0 votes
1 answer

Error: Failed building wheel for MySql-Python

Hello @kartik, You need to install the following ...READ MORE

answered Jul 3, 2020 in Python by Niroj
• 82,820 points
5,163 views
+2 votes
2 answers

How to use BeatifulSoup for webscraping?

your programme is fine until you start ...READ MORE

answered Apr 4, 2018 in Python by charlie_brown
• 7,780 points
309 views
0 votes
1 answer

Unique identification for data items in Python

Try the UUID module of Python. For example, ...READ MORE

answered Apr 17, 2018 in Python by Nietzsche's daemon
• 4,260 points
345 views
0 votes
1 answer

How can I reformat value_counts() analysis in Pandas for large number of columns?

If I were you, I'd do it ...READ MORE

answered Apr 17, 2018 in Python by anonymous
5,642 views
0 votes
1 answer

How to temporarily disable a foreign key constraint in MySQL?

Hello @kartik, To turn off foreign key constraint ...READ MORE

answered Jun 23, 2020 in Python by Niroj
• 82,820 points
961 views
0 votes
1 answer

How do I use Django templates without the rest of Django?

Hello @kartik, Let's say you have this important ...READ MORE

answered Jun 23, 2020 in Python by Niroj
• 82,820 points
431 views
0 votes
1 answer

Test Failed: unsupported operand type(s) for -: 'tuple' and 'list'

Hi, @There, Check what are you passing.. the ...READ MORE

answered Oct 5, 2020 in Python by Gitika
• 65,950 points
1,330 views
+2 votes
2 answers

Job roles for Python

Hey, Python Developer responsibilities include writing and testing ...READ MORE

answered May 16, 2019 in Python by Gitika
• 65,950 points
178 views