Lines Matching +full:python +full:- +full:format
7 # http://www.apache.org/licenses/LICENSE-2.0
25 # after Python 3.10.6.
26 # TODO(xuanwn): Remove this once Python version floor is higher than 3.10.
32 #include <Python.h>
36 Could not find <Python.h>. This could mean the following:
37 * You're on Ubuntu and haven't run `apt-get install <PY_REPR>-dev`.
38 * You're on RHEL/Fedora and haven't run `yum install <PY_REPR>-devel` or
39 `dnf install <PY_REPR>-devel` (make sure you also have redhat-rpm-config
41 * You're on Mac OS X and the usual Python framework was somehow corrupted
42 (check your environment variables or try re-installing?)
43 * You're on Windows and your Python installation was somehow corrupted
44 (check your environment variables or try re-installing?)
47 PYTHON_REPRESENTATION = "python"
51 raise NotImplementedError("Unsupported Python version: %s" % sys.version)
77 "Diagnostics found a compilation environment issue:\n{}".format(
90 if source.startswith("./src/python") and source.endswith("c")
96 "Diagnostics found a missing Python extension source"
102 " -rrequirements.txt\nGRPC_PYTHON_BUILD_WITH_CYTHON=1 pip"
104 ).format(source)
128 " with `[Python install]` in the title; please attach the whole log"
129 " (including everything that may have appeared above the Python"
130 " backtrace).\n\n{}".format(type(error), formatted)