We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e995f25 commit b5377aeCopy full SHA for b5377ae
src/pip/_internal/utils/glibc.py
@@ -22,7 +22,7 @@ def glibc_version_string_confstr() -> Optional[str]:
22
return None
23
# os.confstr("CS_GNU_LIBC_VERSION") returns a string like "glibc 2.17":
24
_, version = gnu_libc_version.split()
25
- except (OSError, ValueError):
+ except (AttributeError, OSError, ValueError):
26
# os.confstr() or CS_GNU_LIBC_VERSION not available (or a bad value)...
27
28
return version
0 commit comments