mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 12:23:46 +08:00
1 parent
d547279a92
commit
ef9e00e614
2 files changed
+11
No files matched your search
@@ -39,3 +39,11 @@ def check_colmap_installed():
|
||||
CONSOLE.print("[bold red]Could not find COLMAP. Please install COLMAP.")
|
||||
print("See https://colmap.github.io/install.html for installation instructions.")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def check_curl_installed():
|
||||
"""Checks if curl is installed."""
|
||||
curl_path = shutil.which("curl")
|
||||
if curl_path is None:
|
||||
CONSOLE.print("[bold red]Could not find [yellow]curl[red], Please install [yellow]curl")
|
||||
sys.exit(1)
|
||||
Reference in new issue
Block a user