jtydhr88/ComfyUI-InstantMesh

win11 RuntimeError: Ninja is required to load C++ extensions

guahunyo opened this issue · 10 comments

win11 RuntimeError: Ninja is required to load C++ extensions

hi, please follow the install steps:
First, this extension depends on ComfyUI-3D-Pack, please install it if not, and make sure it works well:

stop ComfyUI if it is running
goto ComfyUI/custom_nodes dir in terminal(cmd)
git clone https://github.com/MrForExample/ComfyUI-3D-Pack
cd ComfyUI-3D-Pack
run install_windows_portable_win_py311_cu121.bat
(Don't start ComfyUI at this moment)
Then, install this extension:

git clone https://github.com/jtydhr88/ComfyUI-InstantMesh
cd ComfyUI-InstantMesh
run install_windows_portable_win_py311_cu121.bat
Start your ComfyUI.

86X}$2W%$GHA$M3P)(S`6NN
这样就好了

hi, please follow the install steps: First, this extension depends on ComfyUI-3D-Pack, please install it if not, and make sure it works well:

stop ComfyUI if it is running goto ComfyUI/custom_nodes dir in terminal(cmd) git clone https://github.com/MrForExample/ComfyUI-3D-Pack cd ComfyUI-3D-Pack run install_windows_portable_win_py311_cu121.bat (Don't start ComfyUI at this moment) Then, install this extension:

git clone https://github.com/jtydhr88/ComfyUI-InstantMesh cd ComfyUI-InstantMesh run install_windows_portable_win_py311_cu121.bat Start your ComfyUI.

跟这个没关系

ok

image
然后现在是这个报错

hi, please follow the install steps: First, this extension depends on ComfyUI-3D-Pack, please install it if not, and make sure it works well:

stop ComfyUI if it is running goto ComfyUI/custom_nodes dir in terminal(cmd) git clone https://github.com/MrForExample/ComfyUI-3D-Pack cd ComfyUI-3D-Pack run install_windows_portable_win_py311_cu121.bat (Don't start ComfyUI at this moment) Then, install this extension:

git clone https://github.com/jtydhr88/ComfyUI-InstantMesh cd ComfyUI-InstantMesh run install_windows_portable_win_py311_cu121.bat Start your ComfyUI.

我是完全照着这个来的

hello,确认一下,本地安装Visual Studio Build Tools这个工具了吗
image?
我在InstantMesh本身的库里建了个ticket也提到这个了TencentARC/InstantMesh#3

请参考#6

86X}$2W%$GHA$M3P)(S`6NN 这样就好了

对我不管用,我不知道为什么(哭)