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
I get the following error, with both 3f57ee8 and psutil == 4.0.0:
building 'psutil._psutil_osx' extension
gcc -fno-strict-aliasing -I/opt/local/include -g -O0 -Wall -Wstrict-prototypes -DPSUTIL_VERSION=400 -I/Users/john/python/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.4-x86_64-2.7-pydebug/psutil/_psutil_osx.o
psutil/_psutil_osx.c: In function'psutil_proc_memory_uss':
psutil/_psutil_osx.c:603:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (mach_vm_address_t addr = MACH_VM_MIN_ADDRESS;; addr += size) {
^
psutil/_psutil_osx.c:603:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
error: command'gcc' failed with exit status 1
I'm using Macport's gcc:
which -a gcc
/opt/local/bin/gcc
/usr/bin/gcc
psutil:gcc --version
gcc (MacPorts gcc49 4.9.3_0) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the sourcefor copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
with Python built from source (not a perfect built, I have to admit -- there are some modules missing):
python --version
Python 2.7.10+
In the same virtualenv, I do not get this error with psutil == 3.4.2.
The text was updated successfully, but these errors were encountered:
I get the following error, with both 3f57ee8 and
psutil == 4.0.0
:I'm using Macport's
gcc
:with Python built from source (not a perfect built, I have to admit -- there are some modules missing):
In the same
virtualenv
, I do not get this error withpsutil == 3.4.2
.The text was updated successfully, but these errors were encountered: