utils_python_interpreter
get_python_interpreter(python_version, resource)
¶
Return the path to the Python interpreter
| PARAMETER | DESCRIPTION |
|---|---|
python_version
|
Python version
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
ValueError
|
If the python version requested is not available on the host. |
| RETURNS | DESCRIPTION |
|---|---|
interpreter
|
string representing the python executable or its path
TYPE:
|
Source code in fractal_server/tasks/v2/utils_python_interpreter.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |