question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install fails on OS X

See original GitHub issue

pip install feather-format fails on OS X 10.11.4 (Kernel Darwin 15.4.0).

I assume this is a problem with my system (missing header file?), but reported it in case it is a general issue.

gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.4.0 Thread model: posix

Traceback:

Collecting feather-format
  Using cached feather-format-0.1.0.tar.gz
Requirement already satisfied (use --upgrade to upgrade): cython>=0.21 in /Volumes/Pelennor/anaconda/anaconda/lib/python3.5/site-packages (from feather-format)
Building wheels for collected packages: feather-format
  Running setup.py bdist_wheel for feather-format ... error
  Complete output from command /Volumes/Pelennor/anaconda/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/tmpdnjjsaatpip-wheel- --python-tag cp35:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.5-x86_64-3.5
  creating build/lib.macosx-10.5-x86_64-3.5/feather
  copying feather/__init__.py -> build/lib.macosx-10.5-x86_64-3.5/feather
  copying feather/api.py -> build/lib.macosx-10.5-x86_64-3.5/feather
  copying feather/compat.py -> build/lib.macosx-10.5-x86_64-3.5/feather
  copying feather/version.py -> build/lib.macosx-10.5-x86_64-3.5/feather
  creating build/lib.macosx-10.5-x86_64-3.5/feather/tests
  copying feather/tests/__init__.py -> build/lib.macosx-10.5-x86_64-3.5/feather/tests
  copying feather/tests/test_reader.py -> build/lib.macosx-10.5-x86_64-3.5/feather/tests
  copying feather/libfeather.pxd -> build/lib.macosx-10.5-x86_64-3.5/feather
  copying feather/ext.pyx -> build/lib.macosx-10.5-x86_64-3.5/feather
  running build_ext
  building 'feather.ext' extension
  creating build/temp.macosx-10.5-x86_64-3.5
  creating build/temp.macosx-10.5-x86_64-3.5/feather
  creating build/temp.macosx-10.5-x86_64-3.5/src
  creating build/temp.macosx-10.5-x86_64-3.5/src/feather
  gcc -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Volumes/Pelennor/anaconda/anaconda/include -arch x86_64 -Ifeather -I/Volumes/Pelennor/anaconda/anaconda/lib/python3.5/site-packages/numpy/core/include -I/private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src -I/Volumes/Pelennor/anaconda/anaconda/include/python3.5m -c feather/ext.cpp -o build/temp.macosx-10.5-x86_64-3.5/feather/ext.o -std=c++11 -O3
  In file included from feather/ext.cpp:286:
  In file included from /private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src/feather/api.h:18:
  /private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src/feather/buffer.h:19:10: fatal error: 'cstdint' file not found
  #include <cstdint>
           ^
  1 error generated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for feather-format
  Running setup.py clean for feather-format
Failed to build feather-format
Installing collected packages: feather-format
  Running setup.py install for feather-format ... error
    Complete output from command /Volumes/Pelennor/anaconda/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-bb9hhfdn-record/install-record.txt --single-version-externally-managed --compile:
    Compiling feather/ext.pyx because it changed.
    [1/1] Cythonizing feather/ext.pyx
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.5-x86_64-3.5
    creating build/lib.macosx-10.5-x86_64-3.5/feather
    copying feather/__init__.py -> build/lib.macosx-10.5-x86_64-3.5/feather
    copying feather/api.py -> build/lib.macosx-10.5-x86_64-3.5/feather
    copying feather/compat.py -> build/lib.macosx-10.5-x86_64-3.5/feather
    copying feather/version.py -> build/lib.macosx-10.5-x86_64-3.5/feather
    creating build/lib.macosx-10.5-x86_64-3.5/feather/tests
    copying feather/tests/__init__.py -> build/lib.macosx-10.5-x86_64-3.5/feather/tests
    copying feather/tests/test_reader.py -> build/lib.macosx-10.5-x86_64-3.5/feather/tests
    copying feather/libfeather.pxd -> build/lib.macosx-10.5-x86_64-3.5/feather
    copying feather/ext.pyx -> build/lib.macosx-10.5-x86_64-3.5/feather
    running build_ext
    building 'feather.ext' extension
    creating build/temp.macosx-10.5-x86_64-3.5
    creating build/temp.macosx-10.5-x86_64-3.5/feather
    creating build/temp.macosx-10.5-x86_64-3.5/src
    creating build/temp.macosx-10.5-x86_64-3.5/src/feather
    gcc -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Volumes/Pelennor/anaconda/anaconda/include -arch x86_64 -Ifeather -I/Volumes/Pelennor/anaconda/anaconda/lib/python3.5/site-packages/numpy/core/include -I/private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src -I/Volumes/Pelennor/anaconda/anaconda/include/python3.5m -c feather/ext.cpp -o build/temp.macosx-10.5-x86_64-3.5/feather/ext.o -std=c++11 -O3
    In file included from feather/ext.cpp:283:
    In file included from /private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src/feather/api.h:18:
    /private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/src/feather/buffer.h:19:10: fatal error: 'cstdint' file not found
    #include <cstdint>
             ^
    1 error generated.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/Volumes/Pelennor/anaconda/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-bb9hhfdn-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/p2/3z8mg4kd6zd8flycq_5gpzmh0000gn/T/pip-build-9b_xtjxe/feather-format

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

21reactions
chrislaingcommented, Mar 30, 2016

I have just discovered that setting export MACOSX_DEPLOYMENT_TARGET=10.10 fixes the issue.

2reactions
wesmcommented, Mar 30, 2016

What about MACOSX_DEPLOYMENT_TARGET=10.11?

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
If an error occurred while updating or installing macOS · Check your internet connection · Install in safe mode · Install after repairing...
Read more >
How to Fix 'macOS Could Not Be Installed on Your Computer ...
How to Fix the 'macOS Could Not Be Installed' Error · Restart and try the installation again. · Check the Date & Time...
Read more >
How to Fix macOS “Installation failed, An error occurred while ...
How To Fix The Installation Failed Error on macOS · Try Downloading The Update at Another Time · Reboot Your Mac · Make...
Read more >
Fix macOS “Installation failed, An error occurred while ...
1. Restart your Mac in Safe Boot mode (restart and immediately hold the Shift key until you see the login prompt.) 2. Applications...
Read more >
The macOS Installation Couldn't Be Completed Error Fix
The macOS Installation Couldn't Be Completed Error Fix · Restart your Mac, and while your computer restarting, immediately press and hold the Command...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found