$ poetry add torchmeta
Using version ^1.8.0 for torchmeta
Updating dependencies
Resolving dependencies... (0.6s)
SolverProblemError
Because torchmeta (1.8.0) depends on torchvision (>=0.5.0,<0.11.0)
and no versions of torchmeta match >1.8.0,<2.0.0, torchmeta (>=1.8.0,<2.0.0) requires torchvision (>=0.5.0,<0.11.0).
So, because foobar depends on both torchvision (^0.11.1) and torchmeta (^1.8.0), version solving failed.
Seems like
setup.pydisallowstorchversion 1.10 andtorchvision1.11.Poetry output