国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

這篇具有很好參考價(jià)值的文章主要介紹了Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

當(dāng)出現(xiàn)此錯(cuò)誤時(shí),一般通過(guò)直接搜索該錯(cuò)誤,其他指南給出的解決辦法不一定適用于自己的情況。需要根據(jù)報(bào)錯(cuò)內(nèi)容中具體的error找到解決方案。

個(gè)人報(bào)錯(cuò)情況如下

Building wheels for collected packages: pycocotools
  Building wheel for pycocotools (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pycocotools (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-38
      creating build\lib.win-amd64-cpython-38\pycocotools
      copying pycocotools\coco.py -> build\lib.win-amd64-cpython-38\pycocotools
      copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-38\pycocotools
      copying pycocotools\mask.py -> build\lib.win-amd64-cpython-38\pycocotools
      copying pycocotools\__init__.py -> build\lib.win-amd64-cpython-38\pycocotools
      running build_ext
      cythoning pycocotools/_mask.pyx to pycocotools\_mask.c
      building 'pycocotools._mask' extension
      C:\Users\hp\AppData\Local\Temp\pip-build-env-jupdccjk\overlay\Lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\hp\AppData\Local\Temp\pip-install-d99qvim5\pycocotools_fb88fac654854a0e97575930567f7c48\pycocotools\_mask.pyx
        tree = Parsing.p_module(s, pxd, full_module_name)
      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 pycocotools
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

?根本錯(cuò)誤在于Microsoft Visual C++ 14.0 or greater is required.

解決方法

重新安裝c++的各個(gè)版本沒有用,即便我的電腦上有了最新版還是會(huì)報(bào)錯(cuò)。

所以最終安裝了visual studio c++的生成工具(不用安裝全部的vs c++)。

Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects,python,深度學(xué)習(xí),目標(biāo)檢測(cè)

?文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-535291.html

到了這里,關(guān)于Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • paddleocr:ERROR: Could not build wheels for lanms-neo, which is required to install pyproject

    https://blog.csdn.net/zzpl139/article/details/127734431 Microsoft Visual Studio(簡(jiǎn)稱VS)是美國(guó)微軟公司的開發(fā)工具包系列產(chǎn)品。VS是一個(gè)基本完整的開發(fā)工具集,它包括了整個(gè)軟件生命周期中所需要的大部分工具,如UML工具、代碼管控工具、集成開發(fā)環(huán)境(IDE)等等。所寫的目標(biāo)代碼適用于微軟

    2024年02月13日
    瀏覽(19)
  • Ubuntu pyaudio安裝報(bào)錯(cuò):ERROR: Could not build wheels for pyaudio, which is required to install pyproject

    報(bào)錯(cuò)信息如下: 這個(gè)和windows處理方法不同,執(zhí)行下面命令即可:

    2024年02月12日
    瀏覽(41)
  • 解決:Could not build wheels for soxr, which is required to install pyproject.toml-based projects

    解決:Could not build wheels for soxr, which is required to install pyproject.toml-based projects

    最近在使用Anaconda下載Python第三方庫(kù)時(shí)進(jìn)行了報(bào)錯(cuò):如下圖 錯(cuò)誤提示顯示編譯soxr庫(kù)時(shí)發(fā)生了錯(cuò)誤? 剛開始以為是缺少wheel,就去清華園查找相關(guān)離線文件下載,但發(fā)現(xiàn)本質(zhì)問題是缺少數(shù)學(xué)庫(kù)的頭文件。因此我們只要進(jìn)行相關(guān)的數(shù)學(xué)庫(kù)安裝就可以了 下載并安裝 Microsoft Visual C+

    2024年02月06日
    瀏覽(23)
  • 成功解決:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based

    成功解決:ERROR:Could not build wheels for pandas, which is required to install pyproject.toml-based

    python 3.10.5 pip 安裝 pandas 問題 通過(guò) pip install pandas 安裝pandas 報(bào)錯(cuò) :ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects; ERROR: Failed building wheel for pandas 缺失pandas對(duì)應(yīng)的whl文件。 安裝對(duì)應(yīng)的whl文件 下載并安裝對(duì)應(yīng)的whl文件,可以通過(guò)以下地址下載。

    2024年02月12日
    瀏覽(24)
  • ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

    ,ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects 報(bào)這個(gè)錯(cuò)的, 可以先根據(jù)這個(gè)下載正確的numpy版本 (48條消息) python3.10安裝numpy,提示Building wheel for numpy (pyproject.toml) error_dxy819308563的博客-CSDN博客 以下是我在安裝MockingBird依賴時(shí)才出現(xiàn)的問題 因?yàn)?/p>

    2024年02月12日
    瀏覽(30)
  • 報(bào)錯(cuò)解決:Could not build wheels for soxr, which is required to install pyproject.toml-based projects

    報(bào)錯(cuò)解決:Could not build wheels for soxr, which is required to install pyproject.toml-based projects

    報(bào)錯(cuò)信息如下: 這個(gè)錯(cuò)誤提示顯示編譯soxr庫(kù)時(shí)發(fā)生了錯(cuò)誤,原因是缺少數(shù)學(xué)庫(kù)的頭文件。解決方法是安裝對(duì)應(yīng)的數(shù)學(xué)庫(kù),在Windows系統(tǒng)上,可以通過(guò)以下步驟安裝Microsoft Visual C++ Build Tools和Windows SDK以獲得所需的數(shù)學(xué)庫(kù)頭文件: 下載并安裝 Microsoft Visual C++ Build Tools。可以從這

    2024年02月11日
    瀏覽(26)
  • python安裝opencv報(bào)錯(cuò)ERROR: Could not build wheels for opencv-python, which is required to install pyproj

    python安裝opencv報(bào)錯(cuò)ERROR: Could not build wheels for opencv-python, which is required to install pyproj

    python3.6安裝opencv遇到報(bào)錯(cuò)。如下所示: pip install opencv-python 報(bào)錯(cuò)。 原因是使用 pip install opencv-python 命令安裝的是最新版本,python3.6不支持。所以找一個(gè)python3.6支持的版本。如 opencv-python==4.3.0.38 。

    2024年02月11日
    瀏覽(93)
  • mac電腦運(yùn)行ERROR: Could not build wheels for lap, which is required to install pyproject.toml-based

    mac電腦運(yùn)行ERROR: Could not build wheels for lap, which is required to install pyproject.toml-based

    阿薩德v·python環(huán)境建議是3.8 問題描述: 解決ERROR: Could not build wheels for bottleneck, which is required to install pyproject.toml-based ·做畢設(shè)的時(shí)候,安裝paddlex庫(kù)的時(shí)候,出現(xiàn)這個(gè)報(bào)錯(cuò)。 解決這個(gè)問題我是參考這個(gè)博主的文章解決的,無(wú)論是win系統(tǒng)還是Linux系統(tǒng)以及mac系統(tǒng),都可以參考。

    2024年02月03日
    瀏覽(31)
  • ERROR: Could not build wheels for python-ldap, which is required to install pyproject.toml-base proj

    odoo安裝 python-ldap 報(bào)錯(cuò)pyproject.toml-based,實(shí)際上,這個(gè)是一個(gè)Python3 安裝報(bào)錯(cuò)。 下面是原始安裝報(bào)錯(cuò)輸出: 根本原因是由于操作系統(tǒng)沒有完整安裝必要的組件導(dǎo)致。 在安裝應(yīng)用前,請(qǐng)執(zhí)行如下把操作系統(tǒng)更新至最新: 執(zhí)行組件更新: 執(zhí)行完成后,接著執(zhí)行python-ldap安裝: 安

    2024年02月11日
    瀏覽(22)
  • 【Bug】ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-ba

    【Bug】ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-ba

    報(bào)錯(cuò)信息: ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects 今天在筆記本上新建了一個(gè)python虛擬環(huán)境,需要安裝opencv-python 命令如下: 本以為沒啥事,會(huì)安裝成功,意想不到的是,報(bào)錯(cuò)了! 最暴力的解決辦法,換一個(gè)版本試試。。。。 安裝

    2024年02月11日
    瀏覽(28)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包