[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Symbol not found: _PyCObject_Type (MacOS El Capitan, Python 3.6)

Hi Arrow dev,

I am having trouble with installing and setting my development environment
for Arrow. I wonder if anyone is familiar with the issue. My system info:
- MacOS 10.11.6 (El Capitan)
- conda 4.5.1
- python 3.6.5
- arrow's current commit: 4b8511

Installing Arrow C++ libraries and Pacquet are both successful. But
importing `pyarrow` fail:

$ python -c 'import pyarrow'

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/myuser/code/arrow/python/pyarrow/__init__.py", line 47, in
    from pyarrow.lib import cpu_count, set_cpu_count
ImportError: dlopen(/Users/myuser/code/arrow/python/pyarrow/
lib.cpython-36m-darwin.so, 2): Symbol not found: _PyCObject_Type
  Referenced from:
  Expected in: flat namespace
 in /Users/myuser/miniconda3/envs/pyarrow-test/lib/libarrow_python.10.dylib

If anyone have suggestion on what the problem is about, please let me know.