You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build the latest version on an older compiler fails on this error
psutil/_psutil_linux.c: In function 'PyInit__psutil_linux':
psutil/_psutil_linux.c:79:56: error: 'DUPLEX_UNKNOWN' undeclared (first use in this function)
if (PyModule_AddIntConstant(mod, "DUPLEX_UNKNOWN", DUPLEX_UNKNOWN)) INITERR;
^
psutil/_psutil_linux.c:79:56: note: each undeclared identifier is reported only once for each function it appears in
psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:
sudo apt-get install gcc python3-dev
error: command '/usr/bin/gcc' failed with exit code 1
Looking at the diff it seems that this commit removed the needed DUPLEX_UNKNOWN in psutil/_psutil_linux.c
Summary
Description
Trying to build the latest version on an older compiler fails on this error
Looking at the diff it seems that this commit removed the needed DUPLEX_UNKNOWN in
psutil/_psutil_linux.c
Found an older ticket on the same issue #2156
The text was updated successfully, but these errors were encountered: