Closed BrunoLiegiBastonLiegi closed 2 months ago
Long story short: you should use poetry install --all-extras
.
Slightly longer explanation: Poetry manages your whole environment, keeping the dependencies in the lock file, and removing those that are not needed any longer, while pip
is just adding (or updating) those that are resolved for the specific command issued.
So, pip
is installing on top (the dependencies that are communicated by the build backend, that is still Poetry, but not the env manager), while Poetry is taking into account the removal, since considered cupy
as not needed any longer, since it's an optional dependency, and no extra including it is specified in the command.
If you confirm the explanation, feel free to close the issue.
I am not sure whether this is expected to happen, but I noticed that
cupy
gets removed when you installqibojit
with poetry:installing with
pip install -e .
doesn't seem to affectcupy
instead.