MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / _pip_exists

Method _pip_exists

python/scriptingprovider.py:1120–1121  ·  view source on GitHub ↗
(self, python_bin: str, python_env: Optional[Dict]=None)

Source from the content-addressed store, hash-verified

1118 return (False, str(se))
1119
1120 def _pip_exists(self, python_bin: str, python_env: Optional[Dict]=None) -> bool:
1121 return self._run_args([python_bin, "-c", "import pip; pip.__version__"], env=python_env)[0]
1122
1123 def _satisfied_dependencies(self, python_bin: str) -> Generator[str, None, None]:
1124 if python_bin is None:

Callers 1

_install_modulesMethod · 0.95

Calls 1

_run_argsMethod · 0.95

Tested by

no test coverage detected