Skip to content
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

RuntimeError: Numpy is not available ( Despite having it on my pip list) #337

Open
GPU-server opened this issue Oct 9, 2024 · 0 comments

Comments

@GPU-server
Copy link

GPU-server commented Oct 9, 2024

I had an error telling me I have to downgrad to a version 2 or lower for numpy, which I did.
Then I had not longer any problem related to import failed (i had to modify one script)
Then I try to run a workflow, and:

got prompt
!!! Exception during processing !!! Numpy is not available
Traceback (most recent call last):
File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\NewInstalls\comfy4\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1578, in load_image
image = torch.from_numpy(image)[None,]
^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Numpy is not available

My pip list:

Package Version


accelerate 1.0.0
aiohappyeyeballs 2.4.0
aiohttp 3.10.5
aiosignal 1.3.1
antlr4-python3-runtime 4.9.3
attrs 24.2.0
certifi 2024.8.30
cffi 1.17.1
charset-normalizer 3.3.2
click 8.1.7
cmake 3.30.4
colorama 0.4.6
coloredlogs 15.0.1
contourpy 1.3.0
cryptography 43.0.1
cycler 0.12.1
dataclasses-json 0.6.7
Deprecated 1.2.14
diff_gaussian_rasterization 0.0.0
diffusers 0.30.3
einops 0.8.0
filelock 3.16.1
flatbuffers 24.3.25
fonttools 4.54.1
frozenlist 1.4.1
fsspec 2024.9.0
ftfy 6.2.3
fvcore 0.1.5.post20221221
gitdb 4.0.11
GitPython 3.1.43
gpytoolbox 0.3.2
hatchling 1.25.0
huggingface-hub 0.24.6
humanfriendly 10.0
idna 3.8
imageio 2.35.1
imageio-ffmpeg 0.5.1
importlib_metadata 8.5.0
iopath 0.1.10
jaxtyping 0.2.34
Jinja2 3.1.4
jsonschema 4.23.0
jsonschema-specifications 2024.10.1
kiui 0.2.13
kiwisolver 1.4.7
kornia 0.7.3
kornia_rs 0.1.5
lazy_loader 0.4
lightning-utilities 0.11.7
llvmlite 0.43.0
markdown-it-py 3.0.0
MarkupSafe 3.0.1
marshmallow 3.22.0
matplotlib 3.9.2
matrix-client 0.4.0
mdurl 0.1.2
mpmath 1.3.0
msvc_runtime 14.40.33807
multidict 6.0.5
mypy-extensions 1.0.0
nerfacc 0.5.3
networkx 3.3
ninja 1.11.1.1
numba 0.60.0
numpy 2.0.0
nvdiffrast 0.3.1
omegaconf 2.3.0
onnxruntime 1.19.2
open_clip_torch 2.26.1
opencv-python 4.10.0.84
opencv-python-headless 4.10.0.84
packaging 24.1
pathspec 0.12.1
peft 0.13.1
pillow 10.4.0
pip 24.2
platformdirs 4.3.6
pluggy 1.5.0
plyfile 1.1
pointnet2_ops 3.0.0
pooch 1.8.2
portalocker 2.10.1
protobuf 5.28.2
psutil 6.0.0
pycparser 2.22
pygit2 1.15.1
PyGithub 2.4.0
pygltflib 1.16.2
Pygments 2.18.0
pyhocon 0.3.61
PyJWT 2.9.0
PyMatting 1.1.12
PyMCubes 0.1.6
pymeshlab 2023.12.post2
PyNaCl 1.5.0
pyparsing 3.1.4
pyreadline3 3.5.4
python-dateutil 2.9.0.post0
pytorch-lightning 2.4.0
pytorch-msssim 1.0.0
pytorch3d 0.7.8
pywin32 307
PyYAML 6.0.2
referencing 0.35.1
regex 2024.7.24
rembg 2.0.59
requests 2.32.3
rich 13.9.2
rpds-py 0.20.0
safetensors 0.4.5
scikit-image 0.24.0
scipy 1.14.1
sentencepiece 0.2.0
setuptools 74.1.2
shellingham 1.5.4
simple_knn 0.0.0
six 1.16.0
slangtorch 1.2.6
smmap 5.0.1
soundfile 0.12.1
spandrel 0.3.4
sympy 1.13.3
tabulate 0.9.0
termcolor 2.5.0
tifffile 2024.9.20
timm 1.0.9
tokenizers 0.19.1
torch 2.4.0+cu121
torch_scatter 2.1.2+pt24cu121
torchaudio 2.4.0+cu121
torchmetrics 1.4.2
torchsde 0.2.6
torchtyping 0.1.5
torchvision 0.19.0+cu121
tqdm 4.66.5
trampoline 0.1.2
transformers 4.44.2
trimesh 4.4.9
trove-classifiers 2024.9.12
typeguard 2.13.3
typer 0.12.5
typing_extensions 4.12.2
typing-inspect 0.9.0
urllib3 1.26.20
wcwidth 0.2.13
wheel 0.44.0
wrapt 1.16.0
xatlas 0.0.9
xformers 0.0.27.post2
yacs 0.1.8
yarl 1.9.11
zipp 3.20.2

What is the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant