andrewharp / ComfyUI-EasyNodes

Makes creating new nodes for ComfyUI a breeze.
MIT License
89 stars 11 forks source link

broken install via pip #10

Open scruffynerf opened 2 months ago

scruffynerf commented 2 months ago

the latest version isn't showing up when you do pip install via ComfyManager, and manually putting it into requirements.txt gets errors due to the UNKNOWN

WARNING: Generating metadata for package comfyui-easynodes produced metadata for project name unknown. Fix your #egg=comfyui-easynodes fragments.
Discarding git+https://github.com/andrewharp/ComfyUI-EasyNodes@a2aeb8b Requested unknown from git+https://github.com/andrewharp/ComfyUI-EasyNodes@a2aeb8b (from -r requirements.txt (line 1)) has inconsistent name: filename has 'comfyui-easynodes', but metadata has 'unknown'
ERROR: Could not find a version that satisfies the requirement comfyui-easynodes (unavailable) (from versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7)
ERROR: No matching distribution found for comfyui-easynodes (unavailable)

via CLI: Resolved https://github.com/andrewharp/ComfyUI-EasyNodes.git to commit a2aeb8bfca654b2c4881975f9fc89d03218a2b8b Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: UNKNOWN Building wheel for UNKNOWN (pyproject.toml) ... done Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=1795 sha256=6e971fd2e63bc8673870a185e5cf9a151d9e44453f96fd35ad48c01c67d26912 Stored in directory: /tmp/pip-ephem-wheel-cache-v3vlh1zv/wheels/89/d0/00/b92b49ad8bfa1166a8568b041722f25ee4ed091ef1c2762e31 Successfully built UNKNOWN Installing collected packages: UNKNOWN Successfully installed UNKNOWN-0.0.0

What would be nice is if the requirements.txt worked, so anyone using this can just add it to the requirements.txt and ComfyManager will install it all magically.

andrewharp commented 2 months ago

Can you give more information on what you mean by "pip install via ComfyManager"? EasyNodes is intended be used by custom_nodes projects, not to be one itself.

I just tested: pip install git+https://github.com/andrewharp/ComfyUI-EasyNodes@a2aeb8b

and pip install comfyui-easynodes

in a fresh Conda environment and both work, installing the latest version of 1.2.7.

What OS and python/pip version are you using?