MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / check_pip

Function check_pip

verl/scripts/diagnose.py:78–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77
78def check_pip():
79 print("------------Pip Info-----------")
80 try:
81 import pip
82
83 print("Version :", pip.__version__)
84 print("Directory :", os.path.dirname(pip.__file__))
85 except ImportError:
86 print("No corresponding pip install for current python.")
87
88
89def _get_current_git_commit():

Callers 1

diagnose.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected