Open-Sora icon indicating copy to clipboard operation
Open-Sora copied to clipboard

:(

Open santaonholidays opened this issue 1 year ago • 2 comments

error: subprocess-exited-with-error

× python setup.py egg_info 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. full command: 'F:\Conda\envs\opensora\python.exe' -c ' exec(compile('"'"''"'"''"'"'

This is -- a caller that pip uses to run setup.py

- It imports setuptools before invoking setup.py, to enable projects that directly

import from distutils.core to work with newer packaging standards.

- It provides a clear error message when setuptools is not installed.

- It sets sys.argv[0] to the underlying setup.py, when invoking setup.py so

setuptools doesn'"'"'t think the script is -c. This avoids the following warning:

manifest_maker: standard file '"'"'-c'"'"' not found".

- It generates a shim setup.py, for handling setup.cfg-only projects.

import os, sys, tokenize

try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)

file = %r sys.argv[0] = file

if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"

exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'C:\Users\Yasin\AppData\Local\Temp\pip-install-4ctul4oc\colossalai_15707edfe5584e4eb379a973ecf076ec\setup.py'"'"',), "", "exec"))' egg_info --egg-base 'C:\Users\Yasin\AppData\Local\Temp\pip-pip-egg-info-y0ssk6ox' cwd: C:\Users\Yasin\AppData\Local\Temp\pip-install-4ctul4oc\colossalai_15707edfe5584e4eb379a973ecf076ec
Preparing metadata (setup.py) ... error error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

santaonholidays avatar Mar 21 '24 19:03 santaonholidays

Could you provide more information, such as the environment and cuda version?

zhengzangw avatar Mar 25 '24 05:03 zhengzangw

This issue is stale because it has been open for 7 days with no activity.

github-actions[bot] avatar Apr 23 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar May 01 '24 01:05 github-actions[bot]