leobcc
commited on
Commit
·
8e37230
1
Parent(s):
c265557
Updated check_kaolin_install.py
Browse files- check_kaolin_install +7 -7
check_kaolin_install
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import kaolin
|
2 |
import subprocess
|
3 |
|
4 |
-
print(kaolin.__version__)
|
5 |
|
6 |
commands = [
|
7 |
"pip install -r kaolin/tools/ci_requirements.txt",
|
@@ -12,10 +12,10 @@ for command in commands:
|
|
12 |
print(f"Running command: {command}")
|
13 |
result = subprocess.run(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
14 |
|
15 |
-
|
16 |
-
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
1 |
import kaolin
|
2 |
import subprocess
|
3 |
|
4 |
+
print("Kaolin version:", kaolin.__version__)
|
5 |
|
6 |
commands = [
|
7 |
"pip install -r kaolin/tools/ci_requirements.txt",
|
|
|
12 |
print(f"Running command: {command}")
|
13 |
result = subprocess.run(command, shell=True, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
14 |
|
15 |
+
print("Output:")
|
16 |
+
print(result.stdout)
|
17 |
|
18 |
+
if result.returncode != 0:
|
19 |
+
print("Error:")
|
20 |
+
print(result.stderr)
|
21 |
+
print("-" * 40) # Separator
|