Skip to content

Commit

Permalink
Update message
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jun 20, 2024
1 parent ec6cd8a commit 4c2721b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils/python_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def pip_install_requirements(requirements_txt="requirements.txt",
import sys
constraints_file = REPO_DIR.joinpath("build", "constraints.txt")
if not constraints_file.exists():
warnings.warn("constraints.txt could not be found, please rerun install.py.")
warnings.warn("The build/constrants.txt file is not found. "
"Please consider rerunning the install.py script to generate it."
"It is recommended to install with the build/constrants.txt file "
"to prevent unexpected version change of numpy or torch.")
constraints_parameters = []
else:
constraints_parameters = ["-c", str(constraints_file.resolve())]
Expand Down

0 comments on commit 4c2721b

Please sign in to comment.