Search before asking
Question
Hi,
I wanted to add supervision to a project of mine that depends on numpy<2.
If I try this via poetry I get:
(.venv) C:\Users\z0039hdz\Projects\chip-segmentation [feat/export-model ≡ +3 ~3 -0 !]> poetry env info
Virtualenv
Python: 3.10.11
Implementation: CPython
Path: C:\Users\z0039hdz\Projects\chip-segmentation\.venv
Executable: C:\Users\z0039hdz\Projects\chip-segmentation\.venv\Scripts\python.exe
Valid: True
Base
Platform: win32
OS: nt
Python: 3.10.11
Path: C:\Users\z0039hdz\.pyenv\pyenv-win\versions\3.10.11
Executable: C:\Users\z0039hdz\.pyenv\pyenv-win\versions\3.10.11\python.exe
(.venv) C:\Users\z0039hdz\Projects\chip-segmentation [feat/export-model ≡ +3 ~3 -0 !]> poetry add supervision
Using version ^0.25.1 for supervision
Updating dependencies
Resolving dependencies... (5.3s)
Because no versions of supervision match >0.25.1,<0.26.0
and supervision (0.25.1) depends on numpy (>=2.1.0), supervision (>=0.25.1,<0.26.0) requires numpy (>=2.1.0).
So, because chip-segmentation depends on both numpy (<2) and supervision (^0.25.1), version solving failed.
it seems like supervision depends on numpy>=2.1.0 for python 3.10 but if I check the pyproject.toml of supervision I see "numpy>=1.21.2".
Is it possible to use supervision with numpy<2? Am I doing something wrong?
Additional
No response
Search before asking
Question
Hi,
I wanted to add supervision to a project of mine that depends on
numpy<2.If I try this via poetry I get:
it seems like supervision depends on numpy>=2.1.0 for python 3.10 but if I check the pyproject.toml of supervision I see
"numpy>=1.21.2".Is it possible to use supervision with
numpy<2? Am I doing something wrong?Additional
No response