Huanshere / Huanshere/VideoLingo

安装报错

Open
#512 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

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)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the editable install on macOS with the Python 3.10 environment shown in the traceback, and capture the full build output for av. Read install.py around install_requirements() and core/utils/decorator.py around the retry wrapper; done means the project installation completes without the reported wheel-build failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.