AI-Hypercomputer / AI-Hypercomputer/xpk

XPK install broken due to dependency

未关闭
#440 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
193
派生
94
平均合并
24 分钟
30 天内合并 PR
1

描述

I am following the steps in https://github.com/AI-Hypercomputer/xpk?tab=readme-ov-file#installation after following the [pre-requisites](https://github.com/AI-Hypercomputer/xpk?tab=readme-ov-file#installation).

Running `pip install xpk` will get the error:
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask 3.1.0 requires Werkzeug>=3.1, but you have werkzeug 2.0.3 which is incompatible.
Successfully installed werkzeug-2.0.3
```

I have updated `werkzeug-2.0.3` to `werkzeug-3.1.3`, but that just yields the error:
```
Downloading Werkzeug-2.0.3-py3-none-any.whl (289 kB)
Installing collected packages: werkzeug
Attempting uninstall: werkzeug
Found existing installation: Werkzeug 3.1.3
Uninstalling Werkzeug-3.1.3:
Successfully uninstalled Werkzeug-3.1.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask 3.1.0 requires Werkzeug>=3.1, but you have werkzeug 2.0.3 which is incompatible.
Successfully installed werkzeug-2.0.3
```

It seems pip install is deleting the correctly set-up version, and install the older version.

I could not find the reference of the package under the repo or I would submit a quick PR to update the reference. I double checked the Makefile, but I don't see any obvious sign of a problem there.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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