Member since
09-22-2020
1
Post
0
Kudos Received
0
Solutions
11-27-2020
05:59 AM
Hello! I'm facing some problems while trying to install pyarrow-0.9.0. This is the command i used to install after downloading the package from https://pypi.org/project/pyarrow/0.9.0/: /opt/cloudera/parcels/Anaconda-5.3.1/bin/python2.7 setup.py install This is the error shown in the console: running install running bdist_egg running egg_info writing requirements to pyarrow.egg-info/requires.txt writing pyarrow.egg-info/PKG-INFO writing top-level names to pyarrow.egg-info/top_level.txt writing dependency_links to pyarrow.egg-info/dependency_links.txt writing entry points to pyarrow.egg-info/entry_points.txt reading manifest file 'pyarrow.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '#*' found anywhere in distribution warning: no previously-included files matching '.git*' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution writing manifest file 'pyarrow.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext -- Runnning cmake for pyarrow cmake -DPYTHON_EXECUTABLE=/opt/cloudera/parcels/Anaconda-5.3.1/bin/python2.7 -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_BUNDLE_BOOST=OFF -DCMAKE_BUILD_TYPE=debug /root/pyarrow-0.9.0 INFOCompiler command: /bin/c++ INFOCompiler version: Using built-in specs. COLLECT_GCC=/bin/c++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) INFOCompiler id: GNU Selected compiler gcc 4.8.5 Configured for DEBUG build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...}) -- Build Type: DEBUG -- Build output directory: /root/pyarrow-0.9.0/build/temp.linux-x86_64-2.7/debug/ -- Searching for Python libs in /opt/cloudera/parcels/Anaconda-5.3.1/lib64;/opt/cloudera/parcels/Anaconda-5.3.1/lib;/opt/cloudera/parcels/Anaconda-5.3.1/lib/python2.7/config -- Looking for python2.7 -- Found Python lib /opt/cloudera/parcels/Anaconda-5.3.1/lib/libpython2.7.so -- Searching for Python libs in /opt/cloudera/parcels/Anaconda-5.3.1/lib64;/opt/cloudera/parcels/Anaconda-5.3.1/lib;/opt/cloudera/parcels/Anaconda-5.3.1/lib/python2.7/config -- Looking for python2.7 -- Found Python lib /opt/cloudera/parcels/Anaconda-5.3.1/lib/libpython2.7.so CMake Warning (dev) at /usr/lib64/python2.7/site-packages/cmake/data/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (Arrow). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/lib64/python2.7/site-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:59 (find_package_handle_standard_args) cmake_modules/FindArrow.cmake:27 (include) CMakeLists.txt:197 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Arrow ABI version: 200 -- Arrow SO version: 200 -- Found the Arrow core library: /usr/lib64/libarrow.so -- Found the Arrow Python library: ARROW_PYTHON_LIB_PATH-NOTFOUND Added shared library dependency arrow: /usr/lib64/libarrow.so Added shared library dependency arrow_python: /usr/lib64/libarrow_python.so -- Configuring done -- Generating done -- Build files have been written to: /root/pyarrow-0.9.0/build/temp.linux-x86_64-2.7 -- Finished cmake for pyarrow -- Running cmake --build for pyarrow make [ 33%] Compiling Cython CXX source for lib... [ 33%] Built target lib_pyx Scanning dependencies of target lib [ 66%] Building CXX object CMakeFiles/lib.dir/lib.cxx.o /root/pyarrow-0.9.0/build/temp.linux-x86_64-2.7/lib.cxx:593:35: fatal error: arrow/python/platform.h: No such file or directory #include "arrow/python/platform.h" ^ compilation terminated. make[2]: *** [CMakeFiles/lib.dir/lib.cxx.o] Error 1 make[1]: *** [CMakeFiles/lib.dir/all] Error 2 make: *** [all] Error 2 error: command 'make' failed with exit status 2 Thank you
... View more
Labels:
- Labels:
-
Manual Installation