alp*_*pha 4 python tensorflow python-poetry
当我用诗歌添加tensoflow(诗歌添加张量流)时,我收到此错误:
Using version ^2.7.0 for tensorflow
Updating dependencies
Resolving dependencies... (0.8s)
SolverProblemError
The current project's Python requirement (>=3.6,<4.0) is not compatible with some of the required packages Python requirement:
- tensorflow-io-gcs-filesystem requires Python >=3.6, <3.10, so it will not be satisfied for Python >=3.10,<4.0
- tensorflow-io-gcs-filesystem requires Python >=3.6, <3.10, so it will not be satisfied for Python >=3.10,<4.0
- tensorflow-io-gcs-filesystem requires Python >=3.6, <3.10, so it will not be satisfied for Python >=3.10,<4.0
....
For tensorflow-io-gcs-filesystem, a possible solution would be to set the `python` property to ">=3.6,<3.10"
For tensorflow-io-gcs-filesystem, a possible solution would be to set the `python` property to ">=3.6,<3.10"
For tensorflow-io-gcs-filesystem, a possible solution would be to set the `python` property to ">=3.6,<3.10"
Run Code Online (Sandbox Code Playgroud)
错误消息告诉您,您的项目旨在兼容 python >=3.6、<4.0(您^3.6的 pyproject.toml 中可能有),但 pytorch 表示它仅兼容 >=3.6、<3.10。这只是您的项目定义范围的一个子集。
诗歌并不关心你当前的环境。它根本关心有效的项目定义。
错误消息中已建议解决方案。pyproject.toml在to中设置 python 的版本范围>=3.6, <3.10。
| 归档时间: |
|
| 查看次数: |
5117 次 |
| 最近记录: |