在Windows 7 64位中以Python导入表时出错
我试图在Pandas中使用HDFStore命令,尽管我安装了PyTables,但在运行该命令时:在Windows 7 64位中以Python导入表时出错,python,pandas,pytables,Python,Pandas,Pytables,我试图在Pandas中使用HDFStore命令,尽管我安装了PyTables,但在运行该命令时: import pandas as pan filename=('testfile.h5') store=pan.HDFStore(filename) import tables 我得到以下错误: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users
import pandas as pan
filename=('testfile.h5')
store=pan.HDFStore(filename)
import tables
我得到以下错误:
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
我得到这个错误:
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_
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“C:\Users\dashamstyr\Anaconda\lib\site packages\tables\\uuuu init\uuuu.py”,第84行,在
从tables.utilExtension导入(
导入错误:无法导入名称blosc\u get\u complib\u info_
我正在使用适用于windows 7 64位的Anaconda Python发行版。我有以下版本的相关软件包(我认为它们都是最新的):
- Python 2.7.9
- 表3.2.0
- HDF5 1.8.15.1
- Cython 0.22.1
- numexpr 2.4.3
- 熊猫0.16.2