TMElyralab / Comfyui-MusePose

Other
287 stars 28 forks source link

mmpose doesnot install, it keeps failing to build wheel #15

Open fusillustrator opened 1 month ago

fusillustrator commented 1 month ago

PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose> pip install mmpose Collecting mmpose Using cached mmpose-1.3.1-py2.py3-none-any.whl.metadata (29 kB) Collecting chumpy (from mmpose) Using cached chumpy-0.70.tar.gz (50 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [23 lines of output] Traceback (most recent call last): File "", line 9, in ModuleNotFoundError: No module named 'pip'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 11, in <module>
  ModuleNotFoundError: No module named 'pip'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose>

marcusaureliusfun commented 1 month ago

Also experiencing this

ManuelMultiverse commented 1 month ago

same here, not installing

lulu-xiao commented 1 month ago

PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose> pip install mmpose Collecting mmpose Using cached mmpose-1.3.1-py2.py3-none-any.whl.metadata (29 kB) Collecting chumpy (from mmpose) Using cached chumpy-0.70.tar.gz (50 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [23 lines of output] Traceback (most recent call last): File "", line 9, in ModuleNotFoundError: No module named 'pip'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 11, in <module>
  ModuleNotFoundError: No module named 'pip'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose>

this tutorial may help https://www.bilibili.com/video/BV1kM4m1z7Tq/?spm_id_from=333.337.search-card.all.click

fusillustrator commented 1 month ago

update i fixed it by pip build wheel

ManuelMultiverse commented 1 month ago

Even using pip build wheel, keeps failing

bparrott78 commented 1 month ago

PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose> pip install mmpose Collecting mmpose Using cached mmpose-1.3.1-py2.py3-none-any.whl.metadata (29 kB) Collecting chumpy (from mmpose) Using cached chumpy-0.70.tar.gz (50 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [23 lines of output] Traceback (most recent call last): File "", line 9, in ModuleNotFoundError: No module named 'pip'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 11, in <module>
  ModuleNotFoundError: No module named 'pip'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose>

this tutorial may help https://www.bilibili.com/video/BV1kM4m1z7Tq/?spm_id_from=333.337.search-card.all.click

Is there perhaps an english source for this? I have no idea what's happening here.

lulu-xiao commented 1 month ago

PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose> pip install mmpose Collecting mmpose Using cached mmpose-1.3.1-py2.py3-none-any.whl.metadata (29 kB) Collecting chumpy (from mmpose) Using cached chumpy-0.70.tar.gz (50 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [23 lines of output] Traceback (most recent call last): File "", line 9, in ModuleNotFoundError: No module named 'pip'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Users\fatbi\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\fatbi\AppData\Local\Temp\pip-build-env-_7rxsme6\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 11, in <module>
  ModuleNotFoundError: No module named 'pip'
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. PS D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui-MusePose>

this tutorial may help https://www.bilibili.com/video/BV1kM4m1z7Tq/?spm_id_from=333.337.search-card.all.click

Is there perhaps an english source for this? I have no idea what's happening here.

using "\python_embeded\python -m pip install xxxx? "

edwinzeng2005 commented 2 weeks ago

I couldn't install mmpose.

Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [12 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 14, in File "C:\tools\StabilityMatrix\Packages\ComfyUI (MusePose)\venv\lib\site-packages\setuptools__init.py", line 8, in import _distutils_hack.override # noqa: F401 File "C:\tools\StabilityMatrix\Packages\ComfyUI (MusePose)\venv\lib\site-packages_distutils_hack\override.py", line 1, in import('_distutils_hack').do_override() File "C:\tools\StabilityMatrix\Packages\ComfyUI (MusePose)\venv\lib\site-packages_distutils_hack__init__.py", line 73, in do_override ensure_local_distutils() File "C:\tools\StabilityMatrix\Packages\ComfyUI (MusePose)\venv\lib\site-packages_distutils_hack__init__.py", line 61, in ensure_local_distutils assert '_distutils' in core.file, core.file__ AssertionError: C:\tools\StabilityMatrix\Packages\ComfyUI (MusePose)\venv\Scripts\python310.zip\distutils\core.pyc [end of output]

FayeValentineSSS commented 2 weeks ago

ok bro,you just need this: pip install wheel When you "pip installed wheel", everything is fine 微信截图_20240619110833

xiaowuzicode commented 2 weeks ago

ok bro, you just need this: pip install wheel When you "pip installed wheel", everything is fine 微信截图_20240619110833

You're awesome, solved, thank you!