Discussion:
[pytables-users] AttributeError: 'File' object has no attribute 'createGroup'
Vanderlei Capitanio
2017-04-12 11:56:25 UTC
Permalink
Hi, there.


Two days ago, I reinstalled Ubuntu 16:04 LT due to some problems in my HD.
Everything was perfect until I updated the Python libraries. A soon as I
finished all updates (numpy, pandas, etc), I started having the following
error when running my script:

File "hdf5_modulo.py", line 486, in cadastroPrincipal
grupo_raiz = h5file.createGroup("/", 'Empresas', 'Informacoes sobre
codigo, empresa, atuacao, setor, subSetor, notas, ranking e etc...')
AttributeError: 'File' object has no attribute 'createGroup'
Closing remaining open files:../FonteTXT/DB.h5...done

I've never faced this kind of problem before with PyTable.

The new version of PyTable updated was 3.2.2-2.

Is there a new version replacing the 3.2.2-2?
How can I fix this problem?

Information about my system:
Ubuntu 16.04 LT
Python 2.7.13 |Anaconda custom (64-bit)| (default, Dec 20 2016, 23:09:15)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
import tables as t
t.__version__
'3.4.0'



thanks in advance

Vanderlei
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Daπid
2017-04-12 13:28:22 UTC
Permalink
On 12 April 2017 at 13:56, Vanderlei Capitanio <
Post by Vanderlei Capitanio
grupo_raiz = h5file.createGroup("/", 'Empresas', 'Informacoes sobre
codigo, empresa, atuacao, setor, subSetor, notas, ranking e etc...')
It is called create_group now (since verson 3)

You can find more details here:
http://www.pytables.org/MIGRATING_TO_3.x.html
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...