word_cloud: Failed building wheel for wordcloud
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\NITIN~1.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\NITIN~1.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
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 23 (8 by maintainers)
I just met the same problem when I want to install wordcloud to my python3.6 at win10, and after searching on the google I found a method which successfully solved my question: click the url “http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud” to download the wheel file which you want to install, and then use “pip install XXXXX” to install it.