i using pandas version 0.16.1 , working fine wanted update pandas version 0.16.2 uninstalled , reinstalled using
pip uninstall pandas pip install pandas the installation seemed work fine. however, when attempt import pandas
import pandas i error:
traceback (most recent call last): file "path_to_python/python3.4/site-packages/pandas/__init__.py", line 7, in <module> pandas import hashtable, tslib, lib importerror: path_to_python/python3.4/site-packages/pandas/hashtable.cpython-34m.so: undefined symbol: pyobject_cmp during handling of above exception, exception occurred: traceback (most recent call last): file "<stdin>", line 1, in <module> file "path_to_python/python3.4/site-packages/pandas/__init__.py", line 13, in <module> "extensions first.".format(module)) importerror: c extension: path_to_python/python3.4/site-packages/pandas/hashtable.cpython-34m.so: undefined symbol: pyobject_cmp not built. if want import pandas source directory, may need run 'python setup.py build_ext --inplace' build c extensions first. however:
cd path_to_python/python3.4/site-packages/pandas/ python setup.py build_ext --inplace doesn't work either there no setup.py found. error is:
fatal python error: py_initialize: can't initialize sys standard streams attributeerror: 'module' object has no attribute 'openwrapper' aborted (core dumped) any advice or insight going wrong appreciated!
update:
i tried install source downloading package:
python setup.py install python setup.py build_ext --inplace this time second command generated lot of output , completed. however, still same error when try import pandas
in case interested, unable pandas install pip switched using miniconda , installed , worked fine.
Comments
Post a Comment