Pip3 安装表错误信息无法理解

问题描述

我尝试 pip3 安装表,它返回以下错误消息。我不知道它是什么,任何人都可以帮忙。

C:\Users\DELL>pip3 安装表

收集表格

使用缓存表-3.6.1.tar.gz (4.6 MB)

ERROR: Command errored out with exit status 1:

 command: 'c:\users\dell\appdata\local\programs\python\python39\python.exe' -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-5713sk2_\\tables\\setup.py'"'"'; __file__='"'"'C:\\Users\\DELL\\AppData\\Local\\Temp\\pip-install-5713sk2_\\tables\\setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\DELL\AppData\Local\Temp\pip-pip-egg-info-y4bn8pg4'

     cwd: C:\Users\DELL\AppData\Local\Temp\pip-install-5713sk2_\tables\
Complete output (17 lines):
Traceback (most recent call last):

  File "<string>",line 1,in <module>

  File "C:\Users\DELL\AppData\Local\Temp\pip-install-5713sk2_\tables\setup.py",line 634,in <module>
    libdir = compiler.has_function(package.target_function,File "c:\users\dell\appdata\local\programs\python\python39\lib\distutils\ccompiler.py",line 792,in has_function
    objects = self.compile([fname],include_dirs=include_dirs)

  File "c:\users\dell\appdata\local\programs\python\python39\lib\distutils\_msvccompiler.py",line 323,in compile
    self.initialize()

  File "c:\users\dell\appdata\local\programs\python\python39\lib\distutils\_msvccompiler.py",line 220,in initialize
    vc_env = _get_vc_env(plat_spec)

  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py",line 314,in msvc14_get_vc_env
    return _msvc14_get_vc_env(plat_spec)

  File "c:\users\dell\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py",line 268,in _msvc14_get_vc_env

    raise distutils.errors.distutilsPlatformError(
distutils.errors.distutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
* Using Python 3.9.1 (tags/v3.9.1:1e5d33e,Dec  7 2020,17:08:21) [MSC v.1927 64 bit (AMD64)]
* USE_PKGCONfig: False

错误:命令出错,退出状态为 1:python setup.py egg_info 检查日志以获取完整的命令输出

警告:您正在使用 pip 版本 20.2.3;但是,版本 21.1.1 可用。

您应该考虑通过“c:\users\dell\appdata\local\programs\python\python39\python.exe -m pip install --upgrade pip”命令进行升级

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)