patriciogonzalezvivo / comfyui_glslnodes

GLSL node for ComfyUI
GNU General Public License v3.0
175 stars 13 forks source link

The file "types.py" is a special name that should be avoided. #7

Closed nomcycle closed 3 months ago

nomcycle commented 3 months ago

Title says all, this causes failure when attempting to execute python -m pip install -r requirements.txt:

Could not import runpy module
Traceback (most recent call last):
  File "<frozen runpy>", line 15, in <module>
  File "<frozen importlib.util>", line 16, in <module>
  File "/home/sea/miniconda3/envs/comfy/lib/python3.12/threading.py", line 6, in <module>
    import functools
  File "/home/sea/miniconda3/envs/comfy/lib/python3.12/functools.py", line 22, in <module>
    from types import GenericAlias
ImportError: cannot import name 'GenericAlias' from 'types' (/home/sea/ComfyUI/custom_nodes/comfyui_glslnodes/types.py)
patriciogonzalezvivo commented 3 months ago

Thank you @nomcycle