Git is detected as missing on Windows when installed with Scoop
Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
ComfyUI should detect and use the version of Git already available on my system
Actual Behavior
ComfyUI gives error status and shows Git as missing
Steps to Reproduce
Install Git using the Scoop package manager, then launch ComfyUI
Debug Logs
When you run a troubleshooting command, any output will be shown here.
Other
It let me bypass the check on first install, but subsequent app launches will only show me the error screen.
Terminal outputs for verifying it's in my path:
where.exe git
D:\scoop\shims\git.exe
git --version
git version 2.48.1.windows.1
It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:
https://git-scm.com/downloads/win
- Choose the standalone version
- Select the option: "Use Windows default console window"
It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:
* Choose the standalone version * Select the option: "Use Windows default console window"
Thanks for the reply, I'm a bit confused though. Git is loaded into my user's env variables just fine and it's the same user running ComfyUI
This is still an issue, git is not being properly detected by ComfyUI. No other program in my environment has issues with using git.
It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:
https://git-scm.com/downloads/win
- Choose the standalone version
- Select the option: "Use Windows default console window"
Still doesn't work for me when i try using my normal user but it seems to see git if ran by admin.
@bolens @ltdrdata (windows11 24h2 26100.4946) double clicking the desktop icon produced the same issue for me:
As you can see git is installed in the unremarkable location, it also present in the path:
However, when running the ComfyUI.exe directly from the normal Command Line/terminal it works. ComfyUI.exe is to be able to detect Git correctly.
(base) PS C:\Windows\System32> cd "C:\Users\colemanby92\AppData\Local\Programs@comfyorgcomfyui-electron" (base) PS C:\Users\colemanby92\AppData\Local\Programs@comfyorgcomfyui-electron> .\ComfyUI.exe