MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / get_env_path

Function get_env_path

src/hyperagent/utils.py:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 raise ValueError("Please provide a valid folder path or GitHub URL.")
56
57def get_env_path():
58 python_path = subprocess.check_output("which python", shell=True).strip().decode("utf-8")
59 return python_path
60
61def clone_repo(repo, commit, root_dir, token, logger):
62 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected