New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation fails on OSX 10.14.6 #1561
Comments
python2.7.16 and python3.7.4 is the same question |
already installed xcode command line tools |
I found thisfile /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk 1/System/Library/Frameworks/CoreFoundation.framework/Versions/A/Headers/CoreFoundation.h build path is wrong |
@357711589 i met the same question, but how you solved it? |
install xcode app |
I'm on 10.15.1 and I'm having the same issues. I already installed the command line tools, already downloaded Xcode, and opened it to let it install whatever other components it needed to install. My header file is located at the path below:
|
ERROR: Command errored out with exit status 1:
command: /Users/rumple/.local/share/virtualenvs/odoo10-k4J47Mt5/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"'; file='"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-wheel-gXKzvU --python-tag cp27
cwd: /private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/
Complete output (42 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-2.7
creating build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pswindows.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_common.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/init.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psosx.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psbsd.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pslinux.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_compat.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psposix.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pssunos.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
creating build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/runner.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/init.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_process.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_system.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'psutil._psutil_osx' extension
creating build/temp.macosx-10.14-x86_64-2.7
creating build/temp.macosx-10.14-x86_64-2.7/psutil
creating build/temp.macosx-10.14-x86_64-2.7/psutil/arch
creating build/temp.macosx-10.14-x86_64-2.7/psutil/arch/osx
clang -fno-strict-aliasing -fno-common -dynamic -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/opt/openssl/include -DPSUTIL_VERSION=431 -I/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c psutil/_psutil_osx.c -o build/temp.macosx-10.14-x86_64-2.7/psutil/_psutil_osx.o
psutil/_psutil_osx.c:36:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Failed to build psutil
Installing collected packages: psutil
Running setup.py install for psutil ... error
ERROR: Command errored out with exit status 1:
command: /Users/rumple/.local/share/virtualenvs/odoo10-k4J47Mt5/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"'; file='"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-record-htBVfZ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rumple/.local/share/virtualenvs/odoo10-k4J47Mt5/bin/../include/site/python2.7/psutil
cwd: /private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/
Complete output (42 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.14-x86_64-2.7
creating build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pswindows.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_common.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/init.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psosx.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psbsd.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pslinux.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_compat.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_psposix.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
copying psutil/_pssunos.py -> build/lib.macosx-10.14-x86_64-2.7/psutil
creating build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/runner.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/init.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_process.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_system.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.macosx-10.14-x86_64-2.7/psutil/tests
warning: build_py: byte-compiling is disabled, skipping.
ERROR: Command errored out with exit status 1: /Users/rumple/.local/share/virtualenvs/odoo10-k4J47Mt5/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"'; file='"'"'/private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-install-xipa6t/psutil/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/hy/13dj6y9x4q3drcwqq3gll88r0000gn/T/pip-record-htBVfZ/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rumple/.local/share/virtualenvs/odoo10-k4J47Mt5/bin/../include/site/python2.7/psutil Check the logs for full command output.
The text was updated successfully, but these errors were encountered: