Repository navigation
PyTorch installation failed #211
Replies: 3 comments
|
The useful part of the screenshot is the inner pip error: That is a failure to resolve a build dependency, not direct evidence that no PyTorch wheel exists for your Python. The dialog's general “no matching wheel” explanation can cover this case too. One thing to check is which package index the failing pip subprocess is using. LU's current A read-only check in PowerShell, using the interpreter shown in your screenshot, is: $py = 'C:\Users\User\ComfyUI\venv\Scripts\python.exe'
& $py -m pip --isolated index versions flit_core --index-url https://pypi.org/simpleAdjust the path if needed. If that lists versions, look in the full failed install log for I haven't reproduced your Windows installation. I would check that dependency/index failure before reinstalling Python, disabling build isolation, or deleting ComfyUI; the screenshot alone doesn't justify those changes. |
|
Your screenshot shows where it went wrong: the last line says the install ran with Python 3.10.11 in During the PyTorch install, pip only looks on PyTorch's own download server. With Python 3.10 it ended up needing to build a package from source, and the build tool for that ( The fix is the one in the message:
If it still fails after the repair, please paste the full error text (not a screenshot) here, since the message in the box is cut short. |
|
Hi, thanks for the screenshot, and thanks to Ultroncn and ngo-binh0108 for digging in. The cause: your ComfyUI environment runs Python 3.10.11, which comes with an old pip (23.0.1). That pip trips over how the PyTorch download server names one small package (typing_extensions), falls back to building it from source and then can't find the build tool (flit_core). So the "no matching wheel" text was misleading, sorry about that. I reproduced it with the same Python and pip versions, and a newer pip fixed it. 3.0.9 is out now: https://github.com/PurpleDoubleD/locally-uncensored/releases/tag/v3.0.9 |
Uh oh!
There was an error while loading. Please reload this page.
All reactions