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

Function install_requirements

tests/run.py:213–220  ·  view source on GitHub ↗
(requirements)

Source from the content-addressed store, hash-verified

211
212
213def install_requirements(requirements):
214 for req in requirements:
215 cmd = [
216 sys.executable, '-m', 'pip', 'install', '-r',
217 'requirements/%s' % req, '-f',
218 'https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html'
219 ]
220 run_command(cmd)
221
222
223def wait_for_free_worker(workers):

Callers 2

parallel_run_case_in_envFunction · 0.85
run_case_in_envFunction · 0.85

Calls 1

run_commandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…