Closed data-steve closed 7 years ago
In case conda info
helps:
Current conda install:
platform : osx-64
conda version : 4.2.13
conda is private : False
conda-env version : 4.2.13
conda-build version : 2.0.2
python version : 2.7.12.final.0
requests version : 2.13.0
root environment : /Users/steve/anaconda (writable)
default environment : /Users/steve/anaconda
envs directories : /Users/steve/anaconda/envs
package cache : /Users/steve/anaconda/pkgs
channel URLs : https://repo.continuum.io/pkgs/free/osx-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/pro/osx-64
https://repo.continuum.io/pkgs/pro/noarch
config file : None
offline mode : False
I also tried to build from source, but I could never figure out how to get the parquet-cpp files to download, build and install from the github readme:
Selected compiler clang
Using dynamic linking for DEBUG builds
Using ld linker
-- Could not find the Parquet library. Looked in system search paths.
-- Found the Arrow core library: /Users/steve/local/lib/libarrow.dylib
-- Found the Arrow IO library: /Users/steve/local/lib/libarrow_io.dylib
-- Found the Arrow IPC library: /Users/steve/local/lib/libarrow_ipc.dylib
-- Found the Arrow jemalloc library: /Users/steve/local/lib/libarrow_jemalloc.dylib
-- Added shared library dependency arrow: /Users/steve/local/lib/libarrow.dylib
-- Added shared library dependency arrow_io: /Users/steve/local/lib/libarrow_io.dylib
-- Added shared library dependency arrow_ipc: /Users/steve/local/lib/libarrow_ipc.dylib
CMake Error at CMakeLists.txt:464 (message):
Unable to locate Parquet libraries
I had to do a fresh install of Anaconda,
But as I remember, the error was introduced after updating pyarrow was followed by this
The following packages will be SUPERCEDED by a higher-priority channel:
conda: 4.3.14-py27_0 --> 4.2.13-py27_0 conda-forge
conda-env: 2.6.0-0 --> 2.6.0-0 conda-forge
Proceed ([y]/n)? y
specifically the conda-env: 2.6.0-0 --> 2.6.0-0 conda-forge
To build parquet-cpp
correctly from source so that you can use it in pyarrow
, you need to specify -DPARQUET_ARROW=ON
in the cmake
call of parquet-cpp
.
To debug this problem a bit better, can you post the output of otool -L .../pyarrow/_parquet.so
and otool .../pyarrow/config.so
?
Sure, thanks for your responsiveness
But I ended up doing a complete re-install of anaconda, so everything’s probably changed at this point.
steve$ otool -L /Users/steve/anaconda/lib/python2.7/site-packages/pyarrow/_parquet.so /Users/steve/anaconda/lib/python2.7/site-packages/pyarrow/_parquet.so: /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0) @rpath/libpyarrow.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow_io.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow_ipc.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libparquet_arrow.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
steve$ otool -L /Users/steve/anaconda/lib/python2.7/site-packages/pyarrow/config.so /Users/steve/anaconda/lib/python2.7/site-packages/pyarrow/config.so: /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0) @rpath/libpyarrow.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow_io.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libarrow_ipc.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libparquet_arrow.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
~ Steve
Sent via telepathy
On Mar 22, 2017, at 3:59 AM, Uwe L. Korn notifications@github.com wrote:
To build parquet-cpp correctly from source so that you can use it in pyarrow, you need to specify -DPARQUET_ARROW=ON in the cmake call of parquet-cpp.
To debug this problem a bit better, can you post the output of otool -L .../pyarrow/_parquet.so and otool .../pyarrow/config.so?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/conda-forge/pyarrow-feedstock/issues/20#issuecomment-288324325, or mute the thread https://github.com/notifications/unsubscribe-auth/AHefi33Wxp5NJ9bsEhoDOU0APgXKL7aHks5roNTigaJpZM4MkWyd.
Also. I thought I did this step:
-DPARQUET_ARROW=ON
But honestly not being a C dev the install instructions left me confused at times. Again, my lack of experience.
~ Steve
Sent via telepathy
On Mar 22, 2017, at 3:59 AM, Uwe L. Korn notifications@github.com wrote:
o build parquet-cpp correctly from source so that you can use it in pyarrow, you need to specify -DPARQUET_ARROW=ON in the cmake call of parquet-cpp.
The otool
output seems fine. After the fresh anaconda install and a fresh creation of the env where you have installed pyarrow
, the error still persists?
Everything is fine now. Thanks!
~ Steve
Sent via telepathy
On Mar 26, 2017, at 4:44 AM, Uwe L. Korn notifications@github.com wrote:
The otool output seems fine. After the fresh anaconda install and a fresh creation of the env where you have installed pyarrow, the error still persists?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Then checking installed
Then checking folder for config
If I try to import pyarrow generally get different warning: