好友
阅读权限10
听众
最后登录1970-1-1
|
求助,Python安装词云失败,按提示安装了Visual Studio 2019后任然不行,求助怎么弄!下面是错误提示,请教大家,谢谢!
Running setup.py install for wordcloud ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\93732\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\93732\\AppData\\Local\\Temp\\pip-install-zwvvwi4d\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\93732\\AppData\\Local\\Temp\\pip-install-zwvvwi4d\\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\93732\AppData\Local\Temp\pip-record-pli0kf_9\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\93732\appdata\local\programs\python\python38-32\Include\wordcloud'
cwd: C:\Users\93732\AppData\Local\Temp\pip-install-zwvvwi4d\wordcloud\
Complete output (20 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\wordcloud
copying wordcloud\color_from_image.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\tokenization.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\wordcloud.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\wordcloud_cli.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\_version.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\__init__.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\__main__.py -> build\lib.win32-3.8\wordcloud
copying wordcloud\stopwords -> build\lib.win32-3.8\wordcloud
copying wordcloud\DroidSansMono.ttf -> build\lib.win32-3.8\wordcloud
UPDATING build\lib.win32-3.8\wordcloud/_version.py
set build\lib.win32-3.8\wordcloud/_version.py to '1.6.0'
running build_ext
building 'wordcloud.query_integral_image' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\93732\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\93732\\AppData\\Local\\Temp\\pip-install-zwvvwi4d\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\93732\\AppData\\Local\\Temp\\pip-install-zwvvwi4d\\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\93732\AppData\Local\Temp\pip-record-pli0kf_9\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\93732\appdata\local\programs\python\python38-32\Include\wordcloud' Check the logs for full command output. |
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|