Closed Anquiax closed 1 year ago
Do you have vs build tools and in your environment PATH?
Meson may be installable with pip but also needs to be in path apparently? Though this was never needed for me on win11
I'm not sure what exactly did it, but I think I fixed it... kinda. Things that I did included putting the supposed installation directories of meson and python in PATH, putting visual studio's IDE folder in PATH, (these didnt fix anything) then reinstalling python entirely, as I had installed python 3.11 through the windows store at some point while 3.10 seemed to work (reinstallation was needed to get 3.10 running through cmd). However, I still get an issue when running comfyui relating to missing the modules 'ftfy', 'numba', and 'mmcv', resulting in an (IMPORT FAILED) for was and 2 other custom nodes, however running 'pip install ftfy' does not fix it - I have it installed, yet when I run comfyui it simply does not register them. I should mention this issue only started occurring after I managed to get the Node suite requirements to run without throwing an error. The file path of the modules should be in PATH, so i dont think that's the issue. I do have python 3.10.9 installed (I had to reinstall python again, to go from 3.10.0 to 3.10.9, in case that change something) so python version shouldn't be the issue either. Im not fully sure if this is an issue related more to comfyui or the node suite, though.
Yeah ComfyUi is for Python 3.10 only currently I believe.
I've managed to isolate a persisting issue to only the node suite - mmcv and ftfy issues came from other custom nodes, but the node suite still can't find 'Numba' whenever I have it inside the 'custom-nodes' folder. I've already installed numba, I've installed numpy, but it just doesnt work. considering that this happens with any custom node folder I put in, im beginning to believe this is an issue with comfyui itself, rather than the node suite.
You have to install all requirements to the ComfyUI executing python.exe.
In usual windows portable download that's under python_embedded/ and you have to run pip stuff with that exe.
Sounds like you are installing to system python, and not the python ComfyUI is using cause you have portable and did not install manually from repo source.
That was it. That was actually the issue. After using the python.exe that comfyui installed to install all the modules it worked. it actually worked. Everything worked. Thank you, you're a godsend.
No problem. That's the most common problem installing these fandangled custom nodes.
and the error log - as well as the entire folder it should apparently be in - does not exist in /temp/, which may be part of the issue. I unfortunately don't know where it's installing things, or where the error log truly is.
Unfortunately, pip install
deletes all traces of the temporary work directory used to download and compile packages. IIRC there may be a non-default pip option to save that information...
Collecting scipy (from -r requirements.txt (line 16)) Using cached scipy-1.11.1-cp311-cp311-win_amd64.whl (44.0 MB) Using cached scipy-1.10.1-cp311-cp311-win_amd64.whl (42.2 MB) Using cached scipy-1.10.0-cp311-cp311-win_amd64.whl (42.2 MB) Using cached scipy-1.9.3-cp311-cp311-win_amd64.whl (39.9 MB) Using cached scipy-1.9.2-cp311-cp311-win_amd64.whl (39.9 MB) Using cached scipy-1.9.1.tar.gz (42.0 MB)
Apparently it tried several cached wheels before giving up, and attempting to build SciPy from source.
(At that point, you ran headlong into the fact that SciPy is a pretty complicated project to build from source, which needs not only a C/C++ compiler, but also a Fortran one -- the Fortran part in particular makes it extremely nontrivial to build on Windows specifically.)
This is the error log of the issue I brought up on Civit.ai as Heckerman. The issue being that upon attempting to install WAS node suite using python through Command prompt, I manage to succeed up until the 'Collecting scipy' stage, in which it fails during the 'get requirements to build wheel' step. I believe I was able to successfuly install scipy(?) when I just ran 'pip install scipy' (or the proper command), and the error log - as well as the entire folder it should apparently be in - does not exist in /temp/, which may be part of the issue. I unfortunately don't know where it's installing things, or where the error log truly is. I copied the following log from the command prompt.