We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3373aa commit 992d2b4Copy full SHA for 992d2b4
install.py
@@ -1,4 +1,5 @@
1
import launch
2
+import platform
3
4
if not launch.is_installed("timm"): #0.6.7
5
launch.run_pip("install --force-reinstall timm==0.6.12", "timm requirement for depthmap script")
@@ -24,6 +25,7 @@
24
25
launch.run_pip("install imageio-ffmpeg", "imageio-ffmpeg requirement for depthmap script")
26
if not launch.is_installed("networkx"):
27
launch.run_pip("install install networkx==2.5", "networkx requirement for depthmap script")
-if not launch.is_installed("pyqt5"):
28
- launch.run_pip("install pyqt5", "pyqt5 requirement for depthmap script")
+if platform.system() == 'Windows':
29
+ if not launch.is_installed("pyqt5"):
30
+ launch.run_pip("install pyqt5", "pyqt5 requirement for depthmap script")
31
0 commit comments