Closed robertvoy closed 1 year ago
That's new. It seems cmake can't be found regardless, it seems.
Check out this topic on SO: https://stackoverflow.com/questions/41912372/dlib-installation-on-windows-10
To install stuff to the portable python you can run commands from python_embedded folder like ./python.exe -m pip install --force-reinstall --upgrade cmake dlib
The first answer there may be of help with the specific whl version.
Also be sure that you're installing the requirements to ComfyUI and not your system's Python by running your requirements command from python_embedded folders python ./python.exe -m pip install /full/path/to/requirements.txt
That being said, WAS Node Suite will try to install dependencies on the fly. So for example, if you aren't planning to use the seamless texture node, you wouldn't need to worry about needing img2texture dependency.
Ok, I got it to work.
For anyone using ComfyUI Portable with Python 3.10.9, Windows 64-bit
You need to download: dlib-19.22.99-cp310-cp310-win_amd64.whl
Then install it to the portable Python:
C:\ComfyUI\python_embeded\python.exe -m pip install dlib-19.22.99-cp310-cp310-win_amd64.whl
After that, it will work.
Ok, I got it to work.
For anyone using ComfyUI Portable with Python 3.10.9, Windows 64-bit
You need to download: dlib-19.22.99-cp310-cp310-win_amd64.whl
Then install it to the portable Python:
C:\ComfyUI\python_embeded\python.exe -m pip install dlib-19.22.99-cp310-cp310-win_amd64.whl
After that, it will work.
Wonder if that's appropriate to add to requirements.txt or maybe a check within the program itself to detect windows and attempt to install it if it's missing, assuming it installs under the name "dlib" ? Could you check your pip freeze
?
Yeah it installs under the name dlib
dlib @ file:///C:/users/robert/downloads/dlib-19.22.99-cp310-cp310-win_amd64.whl#sha256=f2181b6724669fb0147c9ebc326d72b94de41bced1812eff5df4b133b5d0b575
Yeah it installs under the name dlib
dlib @ file:///C:/users/robert/downloads/dlib-19.22.99-cp310-cp310-win_amd64.whl#sha256=f2181b6724669fb0147c9ebc326d72b94de41bced1812eff5df4b133b5d0b575
Thank you.
I can't load the extension after update (02d9afbfb8ed8e7bf0724a4c04ba116096adadf7) Where do you see include Python.h usually in windows 10? I have it in "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\include"
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
running build
running build_ext
building 'numa' extension
creating build
creating build\temp.win-amd64-cpython-310
creating build\temp.win-amd64-cpython-310\Release
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DNUMA_VERSION1_COMPATIBILITY=1 -IG:\StableDiffusion\ComfyUI_windows_portable\python_embeded\include -IG:\StableDiffusion\ComfyUI_windows_portable\python_embeded\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcnuma.c /Fobuild\temp.win-amd64-cpython-310\Release\numa.obj
numa.c
numa.c(4): fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numa
Running setup.py clean for numa
Successfully built img2texture
Failed to build numa
ERROR: Could not build wheels for numa, which is required to install pyproject.toml-based projects```
Looks like typo. It should be "numba" for JIT.
Hey when I'm installing, I'm getting the error below:
I'm running win11. I have CMake and VC installed.