-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
系统是MacOS,如下提示信息:
Failed to build av
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> av
Failed to install project: Command
'['/opt/anaconda3/envs/videolingo/bin/python3.10'
, '-m', 'pip', 'install', '-e', '.']' returned
non-zero exit status 1., retry: 1/0
Traceback (most recent call last):
File "/Users/myname/VideoLingo/install.py", line 182, in
main()
File "/Users/myname/VideoLingo/install.py", line 158, in main
install_requirements()
File "/Users/myname/VideoLingo/core/utils/decorator.py", line 24, in wrapper
raise last_exception
File "/Users/myname/VideoLingo/core/utils/decorator.py", line 17, in wrapper
return func(*args, **kwargs)
File "/Users/myname/VideoLingo/install.py", line 135, in install_requirements
subprocess.check_call([sys.executable, "-m", "pip", "install", "-e", "."], env={**os.environ, "PIP_NO_CACHE_DIR": "0", "PYTHONIOENCODING": "utf-8"})
File "/opt/anaconda3/envs/videolingo/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/anaconda3/envs/videolingo/bin/python3.10', '-m', 'pip', 'install', '-e', '.']' returned non-zero exit status 1.
(videolingo)