导入skchem时出错(ImportError:无法导入熊猫的名称'AccessorProperty')

时间:2019-06-03 09:07:33

标签: pandas

我已经用conda的(https://scikit-chem.readthedocs.io/en/latest/installing.html)安装了scikit-chem。但是当我在python中调用skchem时,出现了此错误:

">>> import skchem
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/long/anaconda3/envs/p3/lib/python3.5/site- packages/skchem/__init__.py", line 19, in <module>
    from . import pandas_ext
  File "/home/long/anaconda3/envs/p3/lib/python3.5/site- packages/skchem/pandas_ext/__init__.py", line 10, in <module>
     from .structure_methods import StructureMethods
  File "/home/long/anaconda3/envs/p3/lib/python3.5/site- packages/skchem/pandas_ext/structure_methods.py", line 16, in <module>
    from pandas.core.base import NoNewAttributesMixin, AccessorProperty
ImportError: cannot import name 'AccessorProperty'
>>> "

0 个答案:

没有答案