From 992d2b47d1ae08dc9532272b65bb8b154f59873d Mon Sep 17 00:00:00 2001 From: agentsim <2792224+agentsim@users.noreply.github.com> Date: Mon, 6 Feb 2023 04:51:53 -0500 Subject: [PATCH] No need for PyQt5 on platforms other than Windows --- install.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index f7343ba..2dce592 100644 --- a/install.py +++ b/install.py @@ -1,4 +1,5 @@ import launch +import platform if not launch.is_installed("timm"): #0.6.7 launch.run_pip("install --force-reinstall timm==0.6.12", "timm requirement for depthmap script") @@ -24,6 +25,7 @@ launch.run_pip("install imageio-ffmpeg", "imageio-ffmpeg requirement for depthmap script") if not launch.is_installed("networkx"): launch.run_pip("install install networkx==2.5", "networkx requirement for depthmap script") -if not launch.is_installed("pyqt5"): - launch.run_pip("install pyqt5", "pyqt5 requirement for depthmap script") +if platform.system() == 'Windows': + if not launch.is_installed("pyqt5"): + launch.run_pip("install pyqt5", "pyqt5 requirement for depthmap script")