error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“: ht

这篇具有很好参考价值的文章主要介绍了error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“: ht。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

错误类型

pip install Polygon3
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting Polygon3
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1f/26/eea4112be43c8b7345477ad9150d499303494f32fb5951cb0f6e9104045b/Polygon3-3.0.9.1.tar.gz (39 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: Polygon3
  Building wheel for Polygon3 (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      Using NumPy extension!
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\IO.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\Shapes.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\Utils.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\__init__.py -> build\lib.win-amd64-cpython-310\Polygon
      running build_ext
      building 'Polygon.cPolygon' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for Polygon3
  Running setup.py clean for Polygon3
Failed to build Polygon3
Installing collected packages: Polygon3
  Running setup.py install for Polygon3 ... error
  error: subprocess-exited-with-error

  × Running setup.py install for Polygon3 did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      Using NumPy extension!
      running install
      C:\Users\gh\miniconda3\envs\dbnet\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-310
      creating build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\IO.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\Shapes.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\Utils.py -> build\lib.win-amd64-cpython-310\Polygon
      copying Polygon\__init__.py -> build\lib.win-amd64-cpython-310\Polygon
      running build_ext
      building 'Polygon.cPolygon' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> Polygon3

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

解决方案
https://zhuanlan.zhihu.com/p/471661231文章来源地址https://www.toymoban.com/news/detail-772221.html

到了这里,关于error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“: ht的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • python pip error:Microsoft Visual C++ 14.0 or greater is required

    windows 10平台下 其他win系列平台也可参考,因为我用的是Windows10 再安装python的一些依赖包的时候,突然会报以下错误 error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ 博主是在安装 package requirements \\\'padd

    2024年02月03日
    浏览(40)
  • 【pycocotools包安装问题】error: Microsoft Visual C++ 14.0 or greater is required

    问题描述: Windows安装 pip install pycocotools 出现问题。显示  error: Microsoft Visual C++ 14.0 or greater is required. Get it with \\\"Microsoft C++ Build Tools\\\": https://visualstudiomicrosoft.com/visual-cpp-build-tools/ 解决方法:如果现在你很着急,建议跳过方法一直接看方法二。如果你经常去复现他人的程序,建

    2024年02月06日
    浏览(37)
  • 【非下载vs解决】error: Microsoft Visual C++ 14.0 or greater is required

    首先说解决办法 下面是解决过程 部分报错为:error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ 我是安装wordcloud库时遇到的安装错误,去下载visualstudio后安装c++库在pip install wordcloud仍然失败,于是卸载

    2024年02月06日
    浏览(41)
  • 已经安装vs依然显示error: Microsoft Visual C++ 14.0 or greater is required.

    在 Windows 下的 Conda 环境中 pip install 一些需要现场编译的库时经常会报错: 上图为安装 pyopenjtalk 时的报错信息。 我之前遇到这种问题的解决方法是直接下载已经在Windows上编译好的whl文件,然后: 然而该网站并没有编译好的 pyopenjtalk 包,因此这次必须解决该错误。 根据微软

    2024年02月13日
    浏览(46)
  • Python 安装wordcloud报错error: Microsoft Visual C++ 14.0 or greater is required.

    找到核心错误error: 翻译: 错误:需要 Microsoft Visual C++ 14.0 或更高版本。使用“Microsoft C++ 构建工具”获取它:https://visualstudio.microsoft.com/visual-cpp-build-tools/ 错误:wordcloud 构建轮子失败 分析:1.缺少Microsoft C++组件,需要安装 首先这是一个办法,但是下载Visual太大(100M) 2.建议下

    2024年02月06日
    浏览(40)
  • 解决pip安装报错 “error: microsoft visual c++ 14.0 or greater is required”

    今天在Windows的anaconda中使用pip安装工具包的时候出现报错信息,如下图所示: 经排查发现主要错误是由 “error: microsoft visual c++ 14.0 or greater is required. get it with “microsoft c++ build tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/” 引起的,而这个工具是Microsoft Build Tools for

    2024年02月02日
    浏览(40)
  • 【python】安装模块lap出错: error: Microsoft Visual C++ 14.0 or greater is required.

    lap是使用Jonker-Volgenant算法求解稠密(LAPJV)或稀疏(LAPMOD)矩阵的线性分配问题求解器 为了使用模块lap,结果 pip install lap 安装失败,命令行提示如下: 一开始在lap的github官网上看见说需要有c的编译器:lap的官方链接 考虑到电脑上并没有安装有关C编译的软件,看了下面的解

    2024年02月04日
    浏览(43)
  • pip install mysqlclient报错 error: Microsoft Visual C++ 14.0 or greater is required

    1.先看报错截图: 2.报错信息:  a) error: subprocess-exited-with-error   Running setup.py install for mysqlclient did not run successfully. b)   error: Microsoft Visual C++ 14.0 or greater is required. Get it with \\\"Microsoft C++ Build Tools\\\": https://visualstudio.microsoft.com/visual-cpp-build-tools/       [end of output]   note: This err

    2024年02月06日
    浏览(37)
  • 安装Paddleocr,报错 error: Microsoft Visual C++ 14.0 or greater is required. ... 如何正确解决?

    前言 用python再做图文识别的时候,难免会需要用到OCR,比如用python做登录识别的时候,需要识别图文验证码,而选择paddleocr是非常不错的选择。要知道,市面上有很多精准的ocr是需要收费的,而paddleocr是款非常不错的免费ocr。 安装方法,大家可以查看我之前写的一篇文章P

    2024年02月04日
    浏览(57)
  • distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 or greater is required. Get it w

    windows python3.6 pip install -r requirements.txt 点开链接下载 https://visualstudio.microsoft.com/visual-cpp-build-tools/ 安装如图插件

    2024年02月12日
    浏览(27)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包