Searched refs:python_bin_path (Results 1 – 11 of 11) sorted by relevance
32 python_bin_path=$(which python || which python3 || die "Cannot find Python binary")69 ${python_bin_path} -c "import sys;print(hasattr(sys, \"real_prefix\"))"83 ${python_bin_path} /tmp/check_tf.py 2>&1 >> ${OUTPUT_FILE}85 DEBUG_LD=libs ${python_bin_path} -c "import tensorflow" 2>>${OUTPUT_FILE} > /tmp/loadedlibs
163 def get_python_path(environ_cp, python_bin_path): argument170 python_bin_path, '-c',176 python_bin_path, '-c',191 def get_python_major_version(python_bin_path): argument193 return run_shell([python_bin_path, '-c', 'import sys; print(sys.version[0])'])203 python_bin_path = get_from_env_or_user_or_default(207 if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK):209 elif not os.path.exists(python_bin_path):210 print('Invalid python path: %s cannot be found.' % python_bin_path)212 print('%s is not executable. Is it the python binary?' % python_bin_path)[all …]
8 /tools/python_bin_path.sh
152 if [[ -e tools/python_bin_path.sh ]]; then153 source tools/python_bin_path.sh
83 source tools/python_bin_path.sh
120 source tools/python_bin_path.sh
71 source tools/python_bin_path.sh
76 source tools/python_bin_path.sh
162 source tools/python_bin_path.sh
283 source tools/python_bin_path.sh
144 python_bin_path = repository_ctx.which("python")145 if python_bin_path != None:146 return str(python_bin_path)