Error running 'bash install.sh': option --use-feature: invalid choice: 'in-tree-build'
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- bash, python
- 领域
- build-system
调研方向
首先阅读 install.sh,尤其是 pip install 命令以及运行 python setup.py build_ext --inplace 的第 22 行。使用 pip 24.0 重现该失败,然后验证安装能够完成,且不会出现无效的 --use-feature 错误或报告的构建失败。
由索引模型根据 Issue 内容生成。
描述
When running the bash install.sh I'm getting this error:
Usage:
pip install [options] [package-index-options] ...
pip install [options] -r [package-index-options] ...
pip install [options] [-e] ...
pip install [options] [-e] ...
pip install [options] <archive url/path> ...
option --use-feature: invalid choice: 'in-tree-build' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache')
install.sh: line 22: 1225 Segmentation fault python setup.py build_ext --inplace
It's related to this line within the install.sh file:
pip install . --use-feature=in-tree-build
The error message is indicating that --use-feature=in-tree-build is not a valid option for the pip install command. The valid choices for --use-feature are fast-deps, truststore, and no-binary-enable-wheel-cache.
The in-tree-build feature was used in pip version 21.3 to allow building packages in their own directory, but I'm using a newer version "pip 24.0".
If I directly run that line, I get the same error:
Looks like a bug/issue in the bash install.sh script to be fixed?
Or is there any workaround/fix for this?
- 主要语言
- Python
- 星标
- 2.5k
- 派生
- 375
- 平均合并
- 14 小时 51 分钟
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/Graphormer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/Graphormer#211 ·
-
SAS updata未关闭
难度 5/5 一周以上 新手友好度 20/100
microsoft/Graphormer#210 ·
-
难度 5/5 一周以上 新手友好度 25/100
microsoft/Graphormer#208 ·
-
难度 4/5 3-5 天 新手友好度 20/100
microsoft/Graphormer#207 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
microsoft/Graphormer#205 ·
查看 microsoft/Graphormer 的全部 Issue
相似的 Issue
-
good first issue tools
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug deferred domain:ci P1
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
docling-project/docling-mcp#147 ·
-
issue: A pipe model's Valves button ignores the Allow Chat Valves permission可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug confirmed issue
难度 2/5 1-3 小时 新手友好度 72/100
open-webui/open-webui#32771 · 1 条评论 ·
维护者通常 1 天内回复
-
Scheduled Security Scan is failing on main可能已有人在做 @pkupt 今天认领。 未关闭security-scan-failure
难度 1/5 1-3 小时 新手友好度 74/100
semantica-agi/semantica#2045 ·
维护者通常 2 天内回复