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

[Crystools ERROR] Could not init pynvml.NVML Shared Library Not Found #308

Open
3 tasks done
loxeyer opened this issue May 13, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working 👀 more info Provide more info

Comments

@loxeyer
Copy link

loxeyer commented May 13, 2024

First, confirm

  • I have read the instruction carefully
  • I have searched the existing issues
  • I have updated the extension to the latest version

What happened?

TypeError

Cannot import /Users/abc/data/ComfyUI/custom_nodes/comfyui-reactor-node module for custom nodes:
[Crystools INFO] Crystools version: 1.12.0
[Crystools INFO] CPU: Apple M3 - Arch: x86_64 - OS: Darwin 23.3.0
[Crystools ERROR] Could not init pynvml.NVML Shared Library Not Found
[Crystools WARNING] No GPU with CUDA detected.

must be windows? mac m3 not be ok?

Steps to reproduce the problem

Your workflow

Sysinfo

mac os m3

Relevant console log

File "/Users/tony/data/ComfyUI/nodes.py", line 1879, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/tony/data/ComfyUI/custom_nodes/comfyui-reactor-node/__init__.py", line 25, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "/Users/tony/data/ComfyUI/custom_nodes/comfyui-reactor-node/nodes.py", line 4, in <module>
    from scripts.reactor_faceswap import FaceSwapScript, get_models
  File "/Users/tony/data/ComfyUI/custom_nodes/comfyui-reactor-node/scripts/reactor_faceswap.py", line 13, in <module>
    from scripts.reactor_swapper import swap_face
  File "/Users/tony/data/ComfyUI/custom_nodes/comfyui-reactor-node/scripts/reactor_swapper.py", line 11, in <module>
    import insightface
  File "/usr/local/lib/python3.10/site-packages/insightface/__init__.py", line 18, in <module>
    from . import app
  File "/usr/local/lib/python3.10/site-packages/insightface/app/__init__.py", line 2, in <module>
    from .mask_renderer import *
  File "/usr/local/lib/python3.10/site-packages/insightface/app/mask_renderer.py", line 4, in <module>
    import albumentations as A
  File "/usr/local/lib/python3.10/site-packages/albumentations/__init__.py", line 3, in <module>
    from .augmentations import *
  File "/usr/local/lib/python3.10/site-packages/albumentations/augmentations/__init__.py", line 5, in <module>
    from .domain_adaptation import *
  File "/usr/local/lib/python3.10/site-packages/albumentations/augmentations/domain_adaptation.py", line 8, in <module>
    from albumentations.augmentations.domain_adaptation_functional import (
  File "/usr/local/lib/python3.10/site-packages/albumentations/augmentations/domain_adaptation_functional.py", line 8, in <module>
    from sklearn.decomposition import PCA
  File "/usr/local/lib/python3.10/site-packages/sklearn/__init__.py", line 87, in <module>
    from .base import clone
  File "/usr/local/lib/python3.10/site-packages/sklearn/base.py", line 19, in <module>
    from .utils import _IS_32BIT
  File "/usr/local/lib/python3.10/site-packages/sklearn/utils/__init__.py", line 22, in <module>
    from ._estimator_html_repr import estimator_html_repr
  File "/usr/local/lib/python3.10/site-packages/sklearn/utils/_estimator_html_repr.py", line 10, in <module>
    from .fixes import parse_version
  File "/usr/local/lib/python3.10/site-packages/sklearn/utils/fixes.py", line 17, in <module>
    import scipy.stats
  File "/usr/local/lib/python3.10/site-packages/scipy/stats/__init__.py", line 606, in <module>
    from ._stats_py import *
  File "/usr/local/lib/python3.10/site-packages/scipy/stats/_stats_py.py", line 49, in <module>
    from . import distributions
  File "/usr/local/lib/python3.10/site-packages/scipy/stats/distributions.py", line 11, in <module>
    from . import _discrete_distns
  File "/usr/local/lib/python3.10/site-packages/scipy/stats/_discrete_distns.py", line 10, in <module>
    from scipy.interpolate import interp1d
  File "/usr/local/lib/python3.10/site-packages/scipy/interpolate/__init__.py", line 167, in <module>
    from ._interpolate import *
  File "/usr/local/lib/python3.10/site-packages/scipy/interpolate/_interpolate.py", line 14, in <module>
    from . import _fitpack_py
  File "/usr/local/lib/python3.10/site-packages/scipy/interpolate/_fitpack_py.py", line 8, in <module>
    from ._fitpack_impl import bisplrep, bisplev, dblint  # noqa: F401
  File "/usr/local/lib/python3.10/site-packages/scipy/interpolate/_fitpack_impl.py", line 103, in <module>
    'iwrk': array([], dfitpack_int), 'u': array([], float),
TypeError

Additional information

No response

@loxeyer loxeyer added bug Something isn't working new labels May 13, 2024
@sekiwired
Copy link

sekiwired commented May 25, 2024

I have the same issue but this is a Crystools problem https://github.com/crystian/ComfyUI-Crystools, i think you're in the wrong repo/node. Could you reopen it in the right place https://github.com/crystian/ComfyUI-Crystools/issues ? You did a tremendous job documenting the issue ;)
thanks.

For the record Pynvml is NVIDIA/CUDA related so it must be normal on Mac

@Gourieff Gourieff added 👀 more info Provide more info and removed new labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀 more info Provide more info
Projects
None yet
Development

No branches or pull requests

3 participants