conda-forge / pyarrow-feedstock

A conda-smithy repository for pyarrow.
BSD 3-Clause "New" or "Revised" License
6 stars 26 forks source link

build issue, missing boost symbol on macOS #50

Closed rgommers closed 6 years ago

rgommers commented 6 years ago
ImportError                               Traceback (most recent call last)
~/anaconda3/envs/tmpfiona/lib/python3.6/site-packages/pandas/io/feather_format.py in _try_import()
     13     try:
---> 14         import feather
     15     except ImportError:

~/anaconda3/envs/tmpfiona/lib/python3.6/site-packages/feather/__init__.py in <module>()
     16 
---> 17 from feather.api import (read_dataframe, write_dataframe,
     18                          FeatherError, FeatherReader, FeatherWriter)

~/anaconda3/envs/tmpfiona/lib/python3.6/site-packages/feather/api.py in <module>()
     14 
---> 15 from pyarrow.feather import (read_feather as read_dataframe,  # noqa
     16                              write_feather as write_dataframe,

~/anaconda3/envs/tmpfiona/lib/python3.6/site-packages/pyarrow/__init__.py in <module>()
     46 
---> 47 from pyarrow.lib import cpu_count, set_cpu_count
     48 from pyarrow.lib import (null, bool_,

ImportError: dlopen(/Users/rgommers/anaconda3/envs/tmpfiona/lib/python3.6/site-packages/pyarrow/lib.cpython-36m-darwin.so, 2): Symbol not found: __ZNK5boost16re_detail_10650131cpp_regex_traits_implementationIcE17transform_primaryEPKcS4_
  Referenced from: /Users/rgommers/anaconda3/envs/tmpfiona/lib/libparquet.1.dylib
  Expected in: /Users/rgommers/anaconda3/envs/tmpfiona/lib/libboost_regex.dylib
 in /Users/rgommers/anaconda3/envs/tmpfiona/lib/libparquet.1.dylib

Just installed:

    arrow-cpp:      0.9.0-py36h1ae9da6_7 conda-forge
    feather-format: 0.4.0-py36_2         conda-forge
    parquet-cpp:    1.4.0-h83d4a3d_1     conda-forge
    pyarrow:        0.9.0-py36_1         conda-forge

Full package list:

# packages in environment at /Users/rgommers/anaconda3/envs/tmpfiona:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.11                    <pip>
altair                    2.0.1                      py_0    conda-forge
appnope                   0.1.0                    py36_0    conda-forge
arrow-cpp                 0.9.0            py36h1ae9da6_7    conda-forge
Babel                     2.6.0                     <pip>
backcall                  0.1.0                      py_0    conda-forge
bleach                    2.1.3                      py_0    conda-forge
bokeh                     0.12.16                  py36_0    conda-forge
boost                     1.66.0                   py36_1    conda-forge
boost-cpp                 1.66.0                        1    conda-forge
bzip2                     1.0.6                         1    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
cairo                     1.14.10                       0    conda-forge
certifi                   2018.4.16                py36_0    conda-forge
chardet                   3.0.4                     <pip>
clangdev                  6.0.0                 default_0    conda-forge
click                     6.7                        py_1    conda-forge
click-plugins             1.0.3                    py36_0    conda-forge
cligj                     0.4.0                    py36_0    conda-forge
curl                      7.60.0                        0    conda-forge
cycler                    0.10.0                   py36_0    conda-forge
decorator                 4.3.0                      py_0    conda-forge
descartes                 1.1.0                      py_1    conda-forge
docutils                  0.14                      <pip>
entrypoints               0.2.3                    py36_1    conda-forge
esda                      1.0.1.dev0                <pip>
expat                     2.2.5                         0    conda-forge
feather-format            0.4.0                    py36_2    conda-forge
fiona                     1.7.11                   py36_3    conda-forge
fontconfig                2.12.6                        0    conda-forge
freetds                   1.00.44                       2    conda-forge
freetype                  2.8.1                         0    conda-forge
freexl                    1.0.5                         0    conda-forge
gdal                      2.2.4                    py36_0    conda-forge
geopandas                 0.3.0                    py36_0    conda-forge
geopandas                 0.3.0+63.g6e0fd9b           <pip>
geos                      3.6.2                         1    conda-forge
geotiff                   1.4.2                         1    conda-forge
gettext                   0.19.8.1                      0    conda-forge
giddy                     1.1.1                     <pip>
giflib                    5.1.4                         0    conda-forge
gitdb2                    2.0.3                     <pip>
GitPython                 2.1.10                    <pip>
glib                      2.55.0                        0    conda-forge
hdf4                      4.2.13                        0    conda-forge
hdf5                      1.10.1                        2    conda-forge
html5lib                  1.0.1                      py_0    conda-forge
icu                       58.2                          0    conda-forge
idna                      2.7                       <pip>
imagesize                 1.0.0                     <pip>
intel-openmp              2018.0.0                      8  
ipykernel                 4.8.2                    py36_0    conda-forge
ipython                   6.4.0                    py36_0    conda-forge
ipython_genutils          0.2.0                    py36_0    conda-forge
ipywidgets                7.2.1                    py36_1    conda-forge
jedi                      0.12.0                   py36_0    conda-forge
jinja2                    2.10                     py36_0    conda-forge
jpeg                      9b                            2    conda-forge
json-c                    0.12.1                        0    conda-forge
jsonschema                2.6.0                    py36_1    conda-forge
jupyter_client            5.2.3                    py36_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
jupyterlab                0.32.1                   py36_0    conda-forge
jupyterlab_launcher       0.10.5                   py36_0    conda-forge
kealib                    1.4.7                         4    conda-forge
kiwisolver                1.0.1                    py36_1    conda-forge
krb5                      1.14.6                        0    conda-forge
libcxx                    6.0.0                         0    conda-forge
libdap4                   3.18.3                        2    conda-forge
libedit                   3.1.20170329                  0    conda-forge
libffi                    3.2.1                         3    conda-forge
libgdal                   2.2.4                         2    conda-forge
libgfortran               3.0.1                h93005f0_2  
libiconv                  1.15                          0    conda-forge
libkml                    1.3.0                         6    conda-forge
libnetcdf                 4.6.1                         2    conda-forge
libopenblas               0.2.20               hdc02c5d_4  
libpng                    1.6.34                        0    conda-forge
libpq                     9.6.3                         0    conda-forge
libpysal                  3.0.6                     <pip>
libsodium                 1.0.16                        0    conda-forge
libspatialindex           1.8.5                         1    conda-forge
libspatialite             4.3.0a                       19    conda-forge
libssh2                   1.8.0                         2    conda-forge
libtiff                   4.0.9                         0    conda-forge
libxml2                   2.9.8                         0    conda-forge
llvm-meta                 6.0.0                         0    conda-forge
llvmdev                   6.0.0                 default_2    conda-forge
mapclassify               1.0.1                     <pip>
markupsafe                1.0                      py36_0    conda-forge
matplotlib                2.2.2                    py36_1    conda-forge
mistune                   0.8.3                    py36_1    conda-forge
mkl                       2018.0.2                      1  
munch                     2.3.2                      py_0    conda-forge
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                    py36_0    conda-forge
ncurses                   5.9                          10    conda-forge
nose                      1.3.7                    py36_2    conda-forge
notebook                  5.5.0                    py36_0    conda-forge
numpy                     1.14.3           py36he6379a5_1  
numpy-base                1.14.3           py36h7ef55bc_1  
numpydoc                  0.8.0                     <pip>
openjpeg                  2.3.0                         2    conda-forge
openssl                   1.0.2o                        0    conda-forge
packaging                 17.1                       py_0    conda-forge
palettable                3.1.1                     <pip>
pandas                    0.23.0                   py36_1    conda-forge
pandoc                    2.2.1                hde52d81_0    conda-forge
pandocfilters             1.4.2                    py36_0    conda-forge
parquet-cpp               1.4.0                h83d4a3d_1    conda-forge
parso                     0.2.1                      py_0    conda-forge
patsy                     0.5.0                    py36_0    conda-forge
pcre                      8.41                          1    conda-forge
pexpect                   4.5.0                    py36_0    conda-forge
pickleshare               0.7.4                    py36_0    conda-forge
pip                       9.0.3                    py36_0    conda-forge
pixman                    0.34.0                        2    conda-forge
poppler                   0.61.1                        3    conda-forge
poppler-data              0.4.9                         0    conda-forge
proj4                     4.9.3                         5    conda-forge
prompt_toolkit            1.0.15                   py36_0    conda-forge
psycopg2                  2.7.4                    py36_0    conda-forge
ptyprocess                0.5.2                    py36_0    conda-forge
pyarrow                   0.9.0                    py36_1    conda-forge
pygments                  2.2.0                    py36_0    conda-forge
pymssql                   2.1.3.post16             py36_0    conda-forge
pyparsing                 2.2.0                    py36_0    conda-forge
pyproj                    1.9.5.1                  py36_0    conda-forge
pysal                     1.14.3                   py36_0    conda-forge
python                    3.6.5                         1    conda-forge
python-dateutil           2.7.3                     <pip>
python-dateutil           2.7.3                      py_0    conda-forge
pytz                      2018.4                     py_0    conda-forge
pyyaml                    3.12                     py36_1    conda-forge
pyzmq                     17.0.0                   py36_4    conda-forge
readline                  7.0                           0    conda-forge
requests                  2.19.1                    <pip>
rtree                     0.8.3                    py36_0    conda-forge
scipy                     1.1.0            py36hcaad992_0  
seaborn                   0.8.1                    py36_0    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                39.2.0                   py36_0    conda-forge
shapely                   1.6.4                    py36_0    conda-forge
simplegeneric             0.8.1                    py36_0    conda-forge
six                       1.11.0                   py36_1    conda-forge
smmap2                    2.0.3                     <pip>
snowballstemmer           1.2.1                     <pip>
Sphinx                    1.7.5                     <pip>
sphinx-rtd-theme          0.4.0                     <pip>
sphinxcontrib-websupport  1.1.0                     <pip>
splot                     1.0.0.dev0                <pip>
sqlalchemy                1.2.7            py36h65ede16_0    conda-forge
sqlite                    3.20.1                        2    conda-forge
statsmodels               0.9.0                    py36_0    conda-forge
terminado                 0.8.1                    py36_0    conda-forge
testpath                  0.3.1                    py36_0    conda-forge
tk                        8.6.7                         0    conda-forge
toolz                     0.9.0                      py_0    conda-forge
tornado                   5.0.2                    py36_0    conda-forge
traitlets                 4.3.2                    py36_0    conda-forge
typing                    3.6.4                    py36_0    conda-forge
unixodbc                  2.3.5                h09ba92c_1    conda-forge
urllib3                   1.23                      <pip>
vega_datasets             0.5.0                      py_0    conda-forge
wcwidth                   0.1.7                    py36_0    conda-forge
webencodings              0.5.1                    py36_0    conda-forge
wheel                     0.31.0                   py36_0    conda-forge
widgetsnbextension        3.2.1                    py36_0    conda-forge
xerces-c                  3.2.0                         0    conda-forge
xlrd                      1.1.0                      py_2    conda-forge
xz                        5.2.3                         0    conda-forge
yaml                      0.1.7                         0    conda-forge
zeromq                    4.2.5                         1    conda-forge
zlib                      1.2.11               h470a237_2    conda-forge
wesm commented 6 years ago

Things are broken right now, see status in https://github.com/conda-forge/pyarrow-feedstock/pull/49#issuecomment-401891195

rgommers commented 6 years ago

Thanks @wesm.

wesm commented 6 years ago

@rgommers this should be resolved now, can you confirm? Thanks to @xhochy for slaving through the toolchain migration

kylebarron commented 6 years ago

I also had this issue on Linux and had subscribed to this thread and it works now for me. Thanks!

wesm commented 6 years ago

Cool, please reopen if you have an issue

rgommers commented 6 years ago

Works for me too, thanks all!