Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pex-tool/pex
/ ensure_python_interpreter
Function
ensure_python_interpreter
testing/__init__.py:821–823 ·
view source on GitHub ↗
(version)
Source
from the content-addressed store, hash-verified
819
820
821
def
ensure_python_interpreter(version):
822
# type: (str) -> str
823
return
ensure_python_distribution(version).binary
824
825
826
def
find_python_interpreter(
Callers
15
assert_download_platform_markers_issue_1366
Function · 0.90
test_download_platform_markers_issue_1366_indeterminate
Function · 0.90
test_run_pex
Function · 0.90
test_resolve_current_platform
Function · 0.90
test_resolve_current_and_foreign_platforms
Function · 0.90
test_issues_851
Function · 0.90
test_issues_892
Function · 0.90
test_find_compatible_interpreters
Function · 0.90
test_find_compatible_interpreters_none_with_valid_basenames
Function · 0.90
test_find_compatible_interpreters_none_with_constraints
Function · 0.90
test_find_compatible_interpreters_none_with_valid_basenames_and_constraints
Function · 0.90
test_find_compatible_interpreters_with_valid_basenames
Function · 0.90
Calls
1
ensure_python_distribution
Function · 0.85
Tested by
15
assert_download_platform_markers_issue_1366
Function · 0.72
test_download_platform_markers_issue_1366_indeterminate
Function · 0.72
test_run_pex
Function · 0.72
test_resolve_current_platform
Function · 0.72
test_resolve_current_and_foreign_platforms
Function · 0.72
test_issues_851
Function · 0.72
test_issues_892
Function · 0.72
test_find_compatible_interpreters
Function · 0.72
test_find_compatible_interpreters_none_with_valid_basenames
Function · 0.72
test_find_compatible_interpreters_none_with_constraints
Function · 0.72
test_find_compatible_interpreters_none_with_valid_basenames_and_constraints
Function · 0.72
test_find_compatible_interpreters_with_valid_basenames
Function · 0.72