-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(IMPORT FAILED) error while starting #1
Comments
Hey so it looks like the linker can't find the "python311.lib" file. LIBPATH seems to correctly point to |
I am also having same import fail issue, any idea how to solve it? |
Could not find it in that folder however when I search the PC i found it in "C:\Python311\libs\python311.lib" |
Hmm I think the easiest fix for that is to copy all of the files in |
that did not fix
I have tested it on fresh install with manual install of comfy without the portable version and I get this error:
Traceback (most recent call last): Cannot import D:\Ai__Project\ComfyUI\custom_nodes\human-parser-comfyui-node module for custom nodes: Error building extension 'inplace_abn': [1/1] "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64/link.exe" inplace_abn.o inplace_abn_cpu.o inplace_abn_cuda.cuda.o inplace_abn_cuda_half.cuda.o /nologo /DLL c10.lib c10_cuda.lib torch_cpu.lib torch_cuda.lib -INCLUDE:?warp_size@cuda@at@@yahxz torch.lib /LIBPATH:D:\Ai__Project\ComfyUI\venv\Lib\site-packages\torch\lib torch_python.lib /LIBPATH:D:\Ai__Project\ComfyUI\venv\Scripts\libs "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\lib\x64" cudart.lib /out:inplace_abn.pyd
|
I moved from portable to Manual Installation of comfyui using venv and now I have this error:
I really want to test this node ;-( |
All of the errors above seem related to the single issue of the compiler not being able to locate the "python311.lib" file. Two possible options:
I'd try making the first approach with env vars work - the whole thing here is helping the compiler see the missing lib file. |
@gabidobo Thank you for the reply! Finally, it works based on this link: In short steps:
Thank you so much for sharing the above link. Your help is greatly appreciated. |
Yay happy to hear 🙌 |
I fillow the instructions and all requirement already satisfied., however, when I start comfyui I run into this error:
Any tips on how to fix this issue please ?
The text was updated successfully, but these errors were encountered: