我尝试使用 Poetry 安装 Scipy,但收到以下错误消息:
\nUsing version ^1.9.0 for scipy\n\n The current project's Python requirement (>=3.10,<4.0) is not compatible with some of the required packages Python requirement:\n - scipy requires Python >=3.8,<3.12, so it will not be satisfied for Python >=3.12,<4.0\n \n Because scipy (1.9.0) requires Python >=3.8,<3.12\n and no versions of scipy match >1.9.0,<2.0.0, scipy is forbidden.\n So, because assistant depends on scipy (^1.9.0), version solving failed.\n\n at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/puzzle/solver.py:241 in _solve\n 237\xe2\x94\x82 packages = result.packages\n 238\xe2\x94\x82 except OverrideNeeded as …Run Code Online (Sandbox Code Playgroud)