I am writing a small program that uses pytables. When run the program within sublime text 2 I get the error above. However, when I run the program from command line it runs without error. Any suggestions?
import tables
import numpy as np
from pandas import HDFStore,DataFrame
#create (or open) an hdf5 file and opens in append mode
hdf = HDFStore(‘storage.h5’)
df = DataFrame(np.random.rand(5,3), columns=(‘A’,‘B’,‘C’))
#put the dataset in the storage
hdf.put(‘d1’, df, format=‘table’, data_columns=True)
print hdf’d1’].shape