Closed
Description
After updating pandas I can't import it any more because the symbol _floatify is undefined in pandas/lib.so:
$ python -c 'import pandas'
dlopen(/Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so, 2): Symbol not found: _floatify
Referenced from: /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so
Expected in: flat namespace
in /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/__init__.py", line 10, in <module>
import pandas.lib as lib
ImportError: dlopen(/Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so, 2): Symbol not found: _floatify
Referenced from: /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so
Expected in: flat namespace
in /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so
$ otool -L /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so
/Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
$ nm /Users/deil/Library/Python/2.7/lib/python/site-packages/pandas-0.9.1.dev_7156920-py2.7-macosx-10.8-x86_64.egg/pandas/lib.so | grep floatify
U _floatify
The pandas build log doesn't show any problem with lib.so
or floatify
:
https://gist.github.com/4030153
My numpy install seems OK:
https://gist.github.com/4030177