diff --git a/pyproject.toml b/pyproject.toml index fc07b2d8df..da1992d2bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dependencies = [ "pyclipper", "lmdb", "tqdm", - "numpy", + "numpy<2.0", "rapidfuzz", "opencv-python<=4.6.0.66", "opencv-contrib-python<=4.6.0.66", diff --git a/requirements.txt b/requirements.txt index 56856c5c54..c756367f13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ imgaug pyclipper lmdb tqdm -numpy +numpy<2.0 rapidfuzz opencv-python<=4.6.0.66 opencv-contrib-python<=4.6.0.66