MCPcopy
hub / github.com/CHNZYX/Auto_Simulated_Universe / check_req

Method check_req

simul.py:929–936  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

927 cv.destroyAllWindows()
928
929 def check_req(self):
930 self._stop |= os.system("pip show numpy > NUL 2>&1") and not self.unlock
931 if self._stop:
932 log.info("未安装依赖库或环境变量未正确设置")
933 time.sleep(10)
934 self._stop |= os.system("pip show numpy > NUL 2>&1") and not self.unlock
935 if self._stop:
936 log.info("未安装依赖库或环境变量未正确设置")
937
938 def start(self):
939 self._stop = False

Callers

nothing calls this directly

Calls 1

sleepMethod · 0.80

Tested by

no test coverage detected