Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Python dependencies verson constraint conflict

未关闭
#339 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python, tensorflow

调研方向

首先检查提交 1e8c81a54b94841d55be5fefd4aa860ea49cc389 中的依赖声明,然后使用 pip install -e . 重现失败。比较 tensorflow-transform 和 tfx-bsl 的约束,并确认 editable 安装可以完成,且 pip 不会报告 ResolutionImpossible。

由索引模型根据 Issue 内容生成。

描述

bug stat:awaiting response

As of 1e8c81a54b94841d55be5fefd4aa860ea49cc389, when trying to run pip install -e ., there is a version constraint conflict:

ERROR: Cannot install tensorflow-transform and tensorflow-transform==1.17.0.dev0 because these package versions have conflicting dependencies.

The conflict is caused by:
    tensorflow-transform 1.17.0.dev0 depends on tensorflow<2.18 and >=2.17
    tfx-bsl 1.16.1 depends on tensorflow<2.17 and >=2.16

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
主要语言
Python
星标
989
派生
225
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tensorflow/transform 的其他 Issue

查看 tensorflow/transform 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。