Skip to content
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

[Python] on 3.8 pip install -> fatal error: 'arrow/util/thread-pool.h' file not found #23337

Closed
asfimport opened this issue Oct 30, 2019 · 2 comments

Comments

@asfimport
Copy link

Hi, I'm trying to install pyarrow with python 3.8 using the following:

  • brew install cmake
    brew install apache-arrow
    pip3 install pyarrow

    then receiving the following error:

  • Running cmake --build for pyarrow
    cmake --build . --config release -
    Scanning dependencies of target _json_pyx
    [ 11%] Compiling Cython CXX source for _json...
    [ 11%] Built target _json_pyx
    Scanning dependencies of target _json
    [ 22%] Building CXX object CMakeFiles/_json.dir/_json.cpp.o
    /private/var/folders/sv/llx1n1tj69g2pbhyqtl9wbfr0000gn/T/pip-install-1n6yyvmk/pyarrow/build/temp.macosx-10.9-x86_64-3.8/_json.cpp:647:10: fatal error: 'arrow/util/thread-pool.h' file not found
    #include "arrow/util/thread-pool.h"
    ^~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    make[2]: *** [CMakeFiles/_json.dir/_json.cpp.o] Error 1
    make[1]: *** [CMakeFiles/_json.dir/all] Error 2
    make: *** [all] Error 2
    error: command 'cmake' failed with exit status 2


Environment: OS X 10.14.6 Python 3.8
Reporter: Yale Yng-Wong

Note: This issue was originally created as ARROW-7025. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Seems like the Arrow headers aren't being properly added to the include path when compiling. Can you show the full command line as it's passed to the C++ compiler? Set export PYARROW_BUILD_VERBOSE=1 to see the compiler commands

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Wheels for py3.8 are available now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant