SciPy, einops and torchsde: distinguish missing imports from failed operations
Keep the precise import and operation errors instead of treating every scientific-library failure as an install issue.
Keep imports separate from operations
SciPy, einops and torchsde have different roles: scientific computing, tensor rearrangement and differentiable SDE solving respectively.123 Their presence in a traceback does not itself establish a missing package.
python -m pip show scipy einops torchsde numpy torch
Our suggested workflow has an import checkpoint followed by an operation checkpoint. Install a genuinely missing dependency according to the node's requirements. When execution already reaches a function, preserve the input shapes, dtype, parameters and first complete exception.
For SciPy native-loading failures, retain NumPy and platform details. For an einops pattern error, keep the dimension expression and actual sizes; those numbers are diagnostic evidence, not noise to remove. For a torchsde runtime error, preserve solver settings rather than silently substituting a different operation.
Build a small reproduction and compare one change at a time. Report a working import separately from a working node. A new package with a similar name is not a justified repair, and an untested version combination remains unverified.
Related checks
- Keep a reproducible ComfyUI repair record without exposing secrets
- Where to run ComfyUI commands: PowerShell, CMD and virtual environments
Research draft. No local/GPU reproduction or independent editorial sign-off. Upstream statements and our recommendations are distinguished.
Was this page helpful?
Anonymous. Only a yes/no counter is stored; no account, IP address or device details.
Sources & references
Research draft. No local/GPU reproduction or independent editorial sign-off. Upstream statements and our recommendations are distinguished.
01SciPy installationSource checked: 2026-09-2102einops upstream documentationSource checked: 2026-09-2103torchsde upstream READMESource checked: 2026-09-21