MCPcopy Create free account
hub / github.com/modelscope/modelscope / install_packages

Function install_packages

tests/run.py:205–210  ·  view source on GitHub ↗
(pkgs)

Source from the content-addressed store, hash-verified

203
204
205def install_packages(pkgs):
206 cmd = [sys.executable, '-m', 'pip', 'install']
207 for pkg in pkgs:
208 cmd.append(pkg)
209
210 run_command(cmd)
211
212
213def install_requirements(requirements):

Callers 2

parallel_run_case_in_envFunction · 0.85
run_case_in_envFunction · 0.85

Calls 2

run_commandFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…