Install supervision with numpy<2 #1801
Replies: 3 comments
-
|
@pirnerjonas hello in current "released" version of supervision If I create a new python project with toml and add numpy<2 and latest supervision like this ; [project]
name = "test-env"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy<2",
"supervision>=0.25.1",
]I was able to install without problem. You might want to check your other packages or conflicts.
|
Beta Was this translation helpful? Give feedback.
-
|
Converting to Q&A Discussion |
Beta Was this translation helpful? Give feedback.
-
|
This looks like a dependency resolver conflict rather than supervision requiring NumPy 2.x in general. In a clean env, numpy<2 + supervision can resolve, but another dependency in your lock graph may be forcing numpy>=2.x. What I’d try: python -m venv .venv If that works, add your other deps back one by one to find who pulls NumPy 2.x. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions