MCPcopy Create free account
hub / github.com/deepdrive/deepdrive / check_py_version

Function check_py_version

install.py:44–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43
44def check_py_version():
45 version = sys.version_info[:]
46 if version[0] == 3 and version[1] >= 5:
47 return find_executable('python')
48 else:
49 raise RuntimeError('Error: Python 3.5+ is required to run deepdrive-agents')
50
51
52def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected