Skip to content

Commit 4c2721b

Browse files
committed
Update message
1 parent ec6cd8a commit 4c2721b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/python_utils.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def pip_install_requirements(requirements_txt="requirements.txt",
3232
import sys
3333
constraints_file = REPO_DIR.joinpath("build", "constraints.txt")
3434
if not constraints_file.exists():
35-
warnings.warn("constraints.txt could not be found, please rerun install.py.")
35+
warnings.warn("The build/constrants.txt file is not found. "
36+
"Please consider rerunning the install.py script to generate it."
37+
"It is recommended to install with the build/constrants.txt file "
38+
"to prevent unexpected version change of numpy or torch.")
3639
constraints_parameters = []
3740
else:
3841
constraints_parameters = ["-c", str(constraints_file.resolve())]

0 commit comments

Comments
 (0)