hnswlib microsoft visual c++ 14.0 or greater is required离线解决方案

这篇具有很好参考价值的文章主要介绍了hnswlib microsoft visual c++ 14.0 or greater is required离线解决方案。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

在win10离线电脑pip安装chromadb时,安装到依赖包hnswlib 0.7.0时,提示microsoft visual c++ 14.0 or greater is required

安装Visual Studio 2015 未解决,提示需要MSVC 2017以上

解决方案:

在有网的电脑访问Microsoft C++ 生成工具 - Visual Studio下载生成工具vs_BuildTools.exe,这个工具只是一个下载器,直接打开它会联网下载。

参考以下文档:

Create an offline installation - Visual Studio (Windows) | Microsoft Learn

打开cmd,执行“vs_BuildTools.exe --layout {你存放安装包的路径} --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --includeOptional --lang en-US”

把{你存放安装包的路径}改成你本地的一个路径,下载下来有9G多。把这9G多文件用U盘传递到离线电脑,cmd到这个目录,执行vs_BuildTools.exe --noweb --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --includeOptional,会自动调起Visual Studio Installer,一路安装下来,装好之后就可以安装hnswlib 0.7.0成功了。文章来源地址https://www.toymoban.com/news/detail-816635.html

到了这里,关于hnswlib microsoft visual c++ 14.0 or greater is required离线解决方案的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • 【环境配置】解决Microsoft Visual C++ 14.0 or greater is required.

    Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: https://visualstudio.microsoft.com/visual-cpp-build-tools/ 首先进入 https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/ 然后点击 下载生成工具 运行下载之后的 vs_BuildTools.exe Win+R ,输入 winver 查看系统版本 我这里写的

    2024年02月08日
    浏览(47)
  • Microsoft Visual C++ 14.0 or greater is required的解决方法

    用pip去安装Python第三方库的时候,安装不成功,遇到问题,提示有 error: Microsoft Visual C++ 14.0 or greater is required.Get it with “Microsoft C++ Build Tools” : https://…… 的错误。原因是缺少C++编译器,因为有些程序需要使用,没有C++接口会报错。 复制给出的链接,是让你去官网下载生成

    2024年02月11日
    浏览(24)
  • 【已解决】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/ 对于 error: Microsoft C++ Build Tools 报错问题,大多数小伙伴都尝试了 Microsoft C++ Build Tools 3.13MB 安装,但是目前好像都无法继续使用。在此作者提供了新版本的

    2024年02月05日
    浏览(39)
  • Error: Microsoft Visual C++ 14.0 or greater is required 解决方法

    《大数据平台架构与原型实现:数据中台建设实战》一书由博主历时三年精心创作,现已通过知名IT图书品牌电子工业出版社博文视点出版发行,点击《重磅推荐:建大数据平台太难了!给我发个工程原型吧!》了解图书详情,京东购书链接:https://item.jd.com/12677623.html,扫描

    2024年02月11日
    浏览(60)
  • 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日
    浏览(39)
  • insightface安装过程中提示 Microsoft Visual C++ 14.0 or greater is required.

    pip install insightface安装过程中提示 Microsoft Visual C++ 14.0 or greater is required.Get it with \\\"Microsoft C++ Build Tools\\\": https://visualstudio.microsoft.com/visual-cpp-build-tools/  根据提示网站访问官网下载生成工具  打开软件后会自动更新环境,然后勾选下图中文件安装后重新执行pip install insightface即可

    2024年02月12日
    浏览(25)
  • Error: Microsoft Visual C++ 14.0 or greater is required 我的解决办法

    今天想进行特征提取,利用的是mRMR方法,想安装一个pymrmr的库,但是给出了缺少Microsoft C++ Build Tools报错,我来记录一下我的解决过程。 https://visualstudio.microsoft.com/visual-cpp-build-tools/ 为了方便,我给出超链接Microsoft C++ Build Tools 重启电脑之后,再进行pip安装,显示Successfully i

    2024年01月15日
    浏览(37)
  • 安装pycocotools模块报错:Microsoft Visual C++ 14.0 or greater is required

    安装pycocotools模块,出现报错: 报错原因:编译pycocotools模块中出现编译错误,需要安装C++的编译 解决办法:安装确实的C++编译依赖 安装Microsoft Visual C++ 14.0对应的包: 选择依赖进行安排: 点击修改或者安装 可以全部安装,不过其实没有必要,因为很多是为了进行C++的代码

    2024年02月12日
    浏览(30)
  • 【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日
    浏览(40)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包