There was an error while loading. Please reload this page.
numpy<2
1 parent ac99fda commit 79ddd40Copy full SHA for 79ddd40
setup.py
@@ -58,7 +58,8 @@ def write_version_file():
58
pytorch_dep += "==" + os.getenv("PYTORCH_VERSION")
59
60
requirements = [
61
- "numpy",
+ # TODO: Remove <2 constraint! https://github.com/pytorch/vision/issues/8531
62
+ "numpy<2" if sys.platform == "win32" else "numpy",
63
pytorch_dep,
64
]
65
0 commit comments