马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 xiaosi4081 于 2020-7-27 19:46 编辑
想做个词云玩一玩,但是wordcloud模块没法安装
清华源,阿里云源都试过了,但是无济于事
这是报错:ERROR: Command errored out with exit status 1:
command: 'C:\Users\x4\AppData\Local\Programs\Python\Python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\x4\\AppData\\Local\\Temp\\pip-install-pu3kdl86\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\x4\\AppData\\Local\\Temp\\pip-install-pu3kdl86\\wordcloud\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\x4\AppData\Local\Temp\pip-wheel-7xswnjmd'
cwd: C:\Users\x4\AppData\Local\Temp\pip-install-pu3kdl86\wordcloud\
Complete output (20 lines):
running bdist_wheel
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.7.0'
running build_ext
building 'wordcloud.query_integral_image' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for wordcloud
|