Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in convert-pkl2hdf5.py #41

Open
tareksakakini opened this issue Nov 4, 2015 · 2 comments
Open

Error in convert-pkl2hdf5.py #41

tareksakakini opened this issue Nov 4, 2015 · 2 comments

Comments

@tareksakakini
Copy link

Hello everyone,

When running the following command:

python convert-pkl2hdf5.py binarized_text.en.pkl binarized_text.en.h5

I'm getting the following error:

'File' object has no attribute 'createEArray'

Anybody got insights on what could be the mistake I'm doing?

@nouiz
Copy link

nouiz commented Nov 4, 2015

This software isn't supported anymore. Look at the github web site, we
point to another project.

You probably have an old or bad installation of pytables or h5py.

On Tue, Nov 3, 2015 at 9:24 PM, Tarek Sakakini notifications@github.com
wrote:

Hello everyone,

When running the following command:

python convert-pkl2hdf5.py binarized_text.en.pkl binarized_text.en.h5

I'm getting the following error:

'File' object has no attribute 'createEArray'

Anybody got insights on what could be the mistake I'm doing?


Reply to this email directly or view it on GitHub
#41.

@wang-a-zhuo
Copy link

This is because that your pytables is 3.x but the code is written based on pytables 2.x
the function createEArray is replaced as create_earray in pytables 3.x, as well as function createTable
see details here:
http://www.pytables.org/MIGRATING_TO_3.x.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants