MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / locate_python

Function locate_python

scripts/webui_console.py:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 python = "python"
58
59 def locate_python():
60 nonlocal python
61
62 python = subprocess.getoutput(f"{which_cmd} python")
63 python = python.split("\n")
64 python = python[0].strip()
65 print("python: ", python)
66
67 locate_python()
68

Callers 1

print_env_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected