您现在的位置是:首页 > 编程 > 

【miniconda&Windows高版本cuda安装Comfyui-CatVTO超级踩坑尝试环境安装成功,但是运行节点时只有国内环境工作流无法完成】

2025-07-16 22:51:14
error: command ‘C:\Program Files\VIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc’ failed with exit code 2 Comfyui-CatVTO插件作者建议安装环境是 python=.10 Cuda=12.1 t

error: command ‘C:\Program Files\VIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc’ failed with exit code 2

Comfyui-CatVTO插件作者建议安装环境是 python=.10 Cuda=12.1 torch=2.1.2 而我的cuda版本是12.6、torc本是2..1所以我想试试高版本环境下安装会不会发生错误,结果错误一堆我只好按要求重新创建新环境

安装时,请确保 PyTorch 的运行时 CUDA 版本与系统的 CUDA 版本一致;否则,可能会发生错误。
如果存在错位,解决方案是使用与系统版本匹配的 CUDA 版本重新安装 PyTorch。有关使用正确的 CUDA 版本安装 PyTorch
的更多信息,您可以访问 PyTorch 入门页面(了解以前的版本)。

记录命令信息中环境新添加的第三方库列如:tensorboard (from detectron2=0.6)、black (from detectron2=0.6)等信息、但是是conda环境管理看需求删除没用的包就行
Collecting tensorboard (from detectron2==0.6)
  Downloading https:///packages/d4/41/dccba8c5f955bc5b6110ff78574e4e5c8226ad62f08e72096c86109b/tensorboard-2.17.1-py-none-any.whl (5.5 MB)
     ---------------------------------------- 5.5/5.5 MB 1. MB/s eta 0:00:00
Requirement already satisfied: fvcore<0.1.6,>=0.1.5 in c:\newlyprogram\miniconda\envs\cf\lib\site-packages (from detectron2==0.6) (0.1.5.post20221221)
Collecting iopath<0.1.10,>=0.1.7 (from detectron2==0.6)
  Downloading https:///packages/af/20/65dd9bd25a1eb7fa5b5ae8d289126af065f8a0c1f6a90564f4bff0f89d/iopath-0.1.9-py-none-any.whl (27 kB)
Requirement already satisfied: omegaconf<2.4,>=2.1 in c:\newlyprogram\miniconda\envs\cf\lib\site-packages (from detectron2==0.6) (2..0)
Requirement already satisfied: hydra-core>=1.1 in c:\newlyprogram\miniconda\envs\cf\lib\site-packages (from detectron2==0.6) (1..2)
Collecting black (from detectron2==0.6)
  Downloading https:///packages/87/a0/6d2e4175ef64b8c4b64f8441ba041ed65c6ea1db2720d61494ac711c15/black-24.8.0-cp10-cp10-win_amd64.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 2.2 MB/s eta 0:00:00
Installing collected packages: werkzeug, tensorboard-data-server, pathspec, mypy-extensi, markdown, cloudpickle, tensorboard, iopath, black, pycocotools, detectron2
  Attempting uninstall: iopath
    Found existing installation: iopath 0.1.10
    Uninstalling iopath-0.1.10:
      Successfully uninstalled iopath-0.1.10
  DEPRECATIO: Legacy editable install of detectron2==0.6 from file:///C:/Aiart/ComfyUI/custom_nodes/Comfyui-CatVTO/Detectron2_DensePose/detectron2 (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a  or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please cult the setuptools documentation for more information. Discussion can be found at https://github/pypa/pip/issues/11457
  Running setup.py develop for detectron2
  Running setup.py develop for detectron2
    error: subprocess-exited-with-error

    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [104 lines of output]
        running develop
        C:\ewlyProgram\miniconda\envs\cf\lib\site-packages\setuptools\command\develop.py:42: EasyInstallDeprecationWarning: easy_install command is deprecated.
        !!

                ********************************************************************************
                Please avoid running ``setup.py`` and ``easy_install``.
                Instead, use pypa/build, pypa/installer or other
                standards-based tools.

                See https://github/pypa/setuptools/issues/917 for details.
                ********************************************************************************

        !!
          easy_install.initialize_opti(self)
        C:\ewlyProgram\miniconda\envs\cf\lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
        !!

                ********************************************************************************
                Please avoid running ``setup.py`` directly.
                Instead, use pypa/build, pypa/installer or other
                standards-based tools.

                See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
                ********************************************************************************

        !!
          self.initialize_opti()
        running egg_info
        creating 
        writing \PKG-IFO
        writing dependency_links to \dependency_
        writing requirements to \
        writing top-level names to \top_
        writing manifest file '\'
        C:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\utils\cpp_extension.py:499: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.          warnings.warn(msg.format('we could not find ninja.'))
        reading manifest file '\'
        adding license file 'LICESE'
        writing manifest file '\'
        running build_ext
        C:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\utils\cpp_extension.py:84: UserWarning: Error checking compiler version for cl: [WinError 2] 系统不到指定的文件。
          warnings.warn(f'Error checking compiler version for {compiler}: {error}')
        C:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\utils\cpp_extension.py:418: UserWarning: The detected CUDA version (12.6) has a minor version mismatch with the version that was used to compile PyTorch (12.1). Most likely this shouldn't be a problem.
          warnings.warn(CUDA_MISMATCH_WAR.format(cuda_str_version, torch.))
        building 'detectron2._C' extension
        creating build
        creating build\temp.win-amd64-cpython-10
        creating build\temp.win-amd64-cpython-10\Release
        creating build\temp.win-amd64-cpython-10\Release\Aiart
        creating build\temp.win-amd64-cpython-10\Release\Aiart\ComfyUI
        creating build\temp.win-amd64-cpython-10\Release\Aiart\ComfyUI\custom_nodes
        creating build\temp.win-amd64-cpython-10\Release\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO
        creating build\temp.win-amd64-cpython-10\Release\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose
    "C:\Program Files\VIDIA GPU Computing Toolkit\CUDA\v12.6\bin\nvcc" -c C:\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_ -o build\temp.win-amd64-cpython-10\Release\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_ -IC:\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose\detectron2\detectron2\layers\csrc -IC:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\include -IC:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\include\torch\csrc\api\include -IC:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\include\TH -IC:\ewlyProgram\miniconda\envs\cf\lib\site-packages\torch\include\THC "-IC:\Program Files\VIDIA GPU Computing Toolkit\CUDA\v12.6\include" -IC:\ewlyProgram\miniconda\envs\cf\include -IC:\ewlyProgram\miniconda\envs\cf\Include "-IC:\ewlyProgram\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.4120\include" "-IC:\ewlyProgram\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.4120\ATLMFC\include" "-IC:\ewlyProgram\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\ETFXSDK\4.8\include\um" -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4068 -Xcompiler /wd4067 -Xcompiler /wd4624 -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -D__CUDA_O_HALF_OPERATORS__ -D__CUDA_O_HALF_COVERSIOS__ -D__CUDA_O_BFLOAT16_COVERSIOS__ -D__CUDA_O_HALF2_OPERATORS__ --expt-relaxed-ctexpr -O -DCUDA_HAS_FP16=1 -D__CUDA_O_HALF_OPERATORS__ -D__CUDA_O_HALF_COVERSIOS__ -D__CUDA_O_HALF2_OPERATORS__ -DTORCH_API_ICLUDE_EXTESIO_H -DTORCH_EXTESIO_AME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_89,code=compute_89 -gencode=arch=compute_89,code=sm_89 -std=c++17 --use-local-env
    C:\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_(14): error: name must be a namespace name
      using namespace detectron2;
                      ^

    C:\Aiart\ComfyUI\custom_nodes\Comfyui-CatVTO\Detectron2_DensePose\detectron2\detectron2\layers\csrc\nms_rotated\nms_rotated_(68): error: identifier "single_box_iou_rotated" is undefined
            if (single_box_iou_rotated<T>(cur_box, block_boxes &

#感谢您对电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格的认可,转载请说明来源于"电脑配置推荐网 - 最新i3 i5 i7组装电脑配置单推荐报价格

本文地址:http://www.dnpztj.cn/biancheng/1108832.html

相关标签:无
上传时间: 2025-07-16 12:29:20
留言与评论(共有 11 条评论)
本站网友 大连新东方
17分钟前 发表
>=0.1.7 (from detectron2==0.6) Downloading https
本站网友 海星能吃
11分钟前 发表
torc本是2..1所以我想试试高版本环境下安装会不会发生错误
本站网友 酸性食物
14分钟前 发表
\Windows Kits\10\\include\10.0.22621.0\\um" "-IC
本站网友 abs223
5分钟前 发表
[WinError 2] 系统不到指定的文件
本站网友 曹茜茜
26分钟前 发表
black
本站网友 沿海集团
9分钟前 发表
black (from detectron2=0.6)等信息
本站网友 直播吧cctv1
12分钟前 发表
easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead
本站网友 雪莲花的功效与作用
29分钟前 发表
error
本站网友 静安工人体育场
17分钟前 发表
00 Requirement already satisfied
本站网友 q币有什么用
25分钟前 发表
00 Installing collected packages