鱼C论坛

 找回密码
 立即注册
查看: 2095|回复: 2

python第三方库安装问题

[复制链接]
发表于 2020-2-29 10:45:40 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
只是安装wordcloud库,怎么一下子弹出了这么多?而且也没安装成功
C:\Users\34635>pip install wordcloud
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting wordcloud
  Using cached https://pypi.tuna.tsinghua.edu.c ... dcloud-1.6.0.tar.gz (214 kB)
Collecting numpy>=1.6.1
  Using cached https://pypi.tuna.tsinghua.edu.c ... cp38-cp38-win32.whl (10.8 MB)
Collecting pillow
  Downloading https://pypi.tuna.tsinghua.edu.c ... cp38-cp38-win32.whl (1.8 MB)
     |████████████████████████████████| 1.8 MB 1.3 MB/s
Collecting matplotlib
  Downloading https://pypi.tuna.tsinghua.edu.c ... cp38-cp38-win32.whl (8.9 MB)
     |████████████████████████████████| 8.9 MB 2.2 MB/s
Collecting cycler>=0.10
  Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (6.5 kB)
Collecting kiwisolver>=1.0.1
  Downloading https://pypi.tuna.tsinghua.edu.c ... cp38-none-win32.whl (43 kB)
     |████████████████████████████████| 43 kB 740 kB/s
Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1
  Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (67 kB)
     |████████████████████████████████| 67 kB 23 kB/s
Collecting python-dateutil>=2.1
  Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 409 kB/s
Collecting six
  Downloading https://pypi.tuna.tsinghua.edu.c ... y2.py3-none-any.whl (10 kB)
Requirement already satisfied: setuptools in c:\users\34635\appdata\local\programs\python\python38-32\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->wordcloud) (41.2.0)
Installing collected packages: numpy, pillow, six, cycler, kiwisolver, pyparsing, python-dateutil, matplotlib, wordcloud
    Running setup.py install for wordcloud ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\34635\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\34635\\AppData\\Local\\Temp\\pip-install-itwf0br1\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\34635\\AppData\\Local\\Temp\\pip-install-itwf0br1\\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\34635\AppData\Local\Temp\pip-record-aexj18ar\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\34635\appdata\local\programs\python\python38-32\Include\wordcloud'
         cwd: C:\Users\34635\AppData\Local\Temp\pip-install-itwf0br1\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 "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\34635\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\34635\\AppData\\Local\\Temp\\pip-install-itwf0br1\\wordcloud\\setup.py'"'"'; __file__='"'"'C:\\Users\\34635\\AppData\\Local\\Temp\\pip-install-itwf0br1\\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\34635\AppData\Local\Temp\pip-record-aexj18ar\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\34635\appdata\local\programs\python\python38-32\Include\wordcloud' Check the logs for full command output.
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-3-1 08:45:37 | 显示全部楼层
重新下载那个模块再安装试试
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-3-1 20:08:34 | 显示全部楼层
王奥运 发表于 2020-3-1 08:45
重新下载那个模块再安装试试

没有用
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2026-1-23 01:06

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表