diff options
author | Maciej Lasyk <docent.net@gmail.com> | 2016-10-25 01:12:47 +0200 |
---|---|---|
committer | Maciej Lasyk <docent.net@gmail.com> | 2016-10-25 19:36:43 +0200 |
commit | 39cb9a9acaad9982644d160237c56ae01f2a09a6 (patch) | |
tree | 60f711617c56aba84ed936639002a759befb1cce /src | |
parent | fbfb05acc8c97487d75404afe92661d1e6384dd7 (diff) |
Updated C_PYTHON_DEV_ERROR_MESSAGE err msg w/RHEL+Fedora
Added RHEL/Fedora specific information about lacking of python.h - because Linux doesn't mean Ubuntu ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/python/grpcio/support.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/python/grpcio/support.py b/src/python/grpcio/support.py index 7730374df0..f363f5fdc5 100644 --- a/src/python/grpcio/support.py +++ b/src/python/grpcio/support.py @@ -45,7 +45,10 @@ int main(int argc, char **argv) { return 0; } """ C_PYTHON_DEV_ERROR_MESSAGE = """ Could not find <Python.h>. This could mean the following: - * You're on Ubuntu and haven't `apt-get install`ed `python-dev`. + * You're on Ubuntu and haven't run `apt-get install python-dev`. + * You're on RHEL/Fedora and haven't run `yum install python-devel` or + `dnf install python-devel` (make sure you also have redhat-rpm-config + installed) * You're on Mac OS X and the usual Python framework was somehow corrupted (check your environment variables or try re-installing?) * You're on Windows and your Python installation was somehow corrupted |