Cannot complete poetry lock with the following message
The current project's Python requirement (>=3.6.2,<3.10) is not compatible with some of the required packages Python requirement:
- numpy requires Python >=3.7,<3.11, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7,<3.11, so it will not be satisfied for Python >=3.6.2,<3.7
- numpy requires Python >=3.7,<3.11, so it will not be satisfied for Python >=3.6.2,<3.7
Because no versions of numpy match >1.20.0,<1.20.1 || >1.20.1,<1.20.2 || >1.20.2,<1.20.3 || >1.20.3,<1.21.0 || >1.21.0,<1.21.1 || >1.21.1,<1.21.2 || >1.21.2,<1.21.3 || >1.21.3,<1.21.4 || >1.21.4
and numpy (1.20.0) requires Python >=3.7, numpy is forbidden.
And because numpy (1.20.1) requires Python >=3.7
and numpy (1.20.2) requires Python >=3.7, numpy is forbidden.
And because numpy (1.20.3) requires Python >=3.7
and numpy (1.21.0) requires Python >=3.7, numpy is forbidden.
And because numpy (1.21.1) requires Python >=3.7
and numpy (1.21.2) requires Python >=3.7,<3.11, numpy is forbidden.
And because numpy (1.21.3) requires Python >=3.7,<3.11
and numpy (1.21.4) requires Python >=3.7,<3.11, numpy is forbidden.
Because no versions of lightautoml match >0.3.1
and lightautoml (0.3.1) depends on numpy (>=1.20.0), lightautoml (>=0.3.1) requires numpy (>=1.20.0).
Thus, lightautoml is forbidden.
So, because replay-rec depends on lightautoml (>=0.3.1), version solving failed.
at ~/python/.e397/lib/python3.9/site-packages/poetry/puzzle/solver.py:241 in _solve
237│ packages = result.packages
238│ except OverrideNeeded as e:
239│ return self.solve_in_compatibility_mode(e.overrides, use_latest=use_latest)
240│ except SolveFailure as e:
→ 241│ raise SolverProblemError(e)
242│
243│ results = dict(
244│ depth_first_search(
245│ PackageNode(self._package, packages), aggregate_package_nodes
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
For numpy, a possible solution would be to set the `python` property to ">=3.7,<3.10"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
Python==3.9.7 poetry==1.1.11 pip==21.3.1
pyproject.toml
like thisCannot complete
poetry lock
with the following message