我正在尝试在Pandas中使用HDFStore命令,虽然我安装了PyTables,但是当我运行命令时:
import pandas as pan
filename=('testfile.h5')
store=pan.HDFStore(filename)
我收到以下错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\dashamstyr\Anaconda\lib\site-packages\pandas\io\pytables.py", line 390, in __init__
raise ImportError('HDFStore requires PyTables, "{ex}" problem importing'.format(ex=str(ex)))
ImportError: HDFStore requires PyTables, "cannot import name blosc_get_complib_info_" problem importing
当我运行命令时:
import tables
我收到此错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\dashamstyr\Anaconda\lib\site-packages\tables\__init__.py", line 84, in <module>
from tables.utilsextension import (
ImportError: cannot import name blosc_get_complib_info_
我使用Windows 7 64位的Anaconda Python发行版。我有以下版本的相关软件包(我认为它们都是最新的):