NerfStdio配置bug

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\Administrator\AppData\Local\Temp\pip-build-env-fxp1dtkh\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\Administrator\AppData\Local\Temp\pip-install-preigbua\pycocotools_dc87f4dd5e6543fa9b4d79a720fe139e\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

这个错误在于你正在尝试安装 pycocotools 包,但由于缺少 Microsoft Visual C++ 14.0 或更高版本,安装失败。您需要先安装Microsoft C++ Build Tools,点击进入下载页面后

 下载完成后,出现这个文件

 点击这个文件进入这个页面

 勾选这个使用C++的桌面开发,然后在右下角点击下载

然后就进入下载安装页面了,可能会等待一段时间,长的话会超过半小时,下面是我安装完成的页面

 重启后,重新执行这个命令

pip install nerfstudio

等待一段时间后,就会出现安装成功的页面

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

机器学习杨卓越

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值