pip install -r requirements.txt 出错
- Dominant language
- Python
- Stars
- 36.9k
- Forks
- 5.2k
- PR merge metrics
- No merged PRs in 30d
Description
做到 pip install -r requirements.txt 这个步骤出错,前面都正常,在 anaconda 里完成的
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [275 lines of output]
...
TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with requirements.txt and reproduce the failure using the Anaconda environment and `pip install -r requirements.txt`. Identify which dependency produces the `CCompiler_spawn()` and `Preparing metadata (pyproject.toml)` errors, then verify that the documented installation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100