[Bug 1186064] [NEW] python-tables package not usable
registration_for_reporting_bugs_r_u_serious
f1440672 at rmqkr.net
Fri May 31 00:40:30 UTC 2013
Public bug reported:
Ubuntu Version:
raring
Description: Ubuntu 13.04
Release: 13.04
package-version:
python-tables:
Installiert: 2.4.0-1ubuntu1
Installationskandidat: 2.4.0-1ubuntu1
Versionstabelle:
*** 2.4.0-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
100 /var/lib/dpkg/status
Expected behaviour:
No Exceptions on import of the provided python module (tables).
Instead a ValueError occurs:
ValueError: numpy.dtype has the wrong size, try recompiling
Long description:
after installing the python-tables package it is not possible to import
the tables module (that is provided by the package).
to reproduce just try to run the following code after installing the python-tables package:
python -c 'import tables'
here the Exception/Output:
----
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/tables/__init__.py", line 30, in <module>
from tables.utilsExtension import getPyTablesVersion, getHDF5Version
File "numpy.pxd", line 155, in init tables.utilsExtension (tables/utilsExtension.c:14478)
ValueError: numpy.dtype has the wrong size, try recompiling
----
So the problem seems to be related to a wrong numpy version when
compiling python-tables.
A possible hint/workaround: installation of python-tables using pip works fine:
pip install tables
(you may need a sudo if you're not on a virtualenv)
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python2.7-minimal 2.7.4-2ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri May 31 02:26:20 2013
ExecutablePath: /usr/bin/python2.7
InstallationDate: Installed on 2011-10-31 (577 days ago)
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
LocalLibraries: /usr/local/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so /usr/local/lib/python2.7/dist-packages/numpy/core/_sort.so /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so /usr/local/lib/python2.7/dist-packages/numpy/core/scalarmath.so /usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so /usr/local/lib/python2.7/dist-packages/numpy/core/umath.so
MarkForUpload: True
SourcePackage: python2.7
UpgradeStatus: Upgraded to raring on 2013-05-23 (7 days ago)
** Affects: pytables (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug local-libs raring
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1186064
Title:
python-tables package not usable
Status in “pytables” package in Ubuntu:
New
Bug description:
Ubuntu Version:
raring
Description: Ubuntu 13.04
Release: 13.04
package-version:
python-tables:
Installiert: 2.4.0-1ubuntu1
Installationskandidat: 2.4.0-1ubuntu1
Versionstabelle:
*** 2.4.0-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
100 /var/lib/dpkg/status
Expected behaviour:
No Exceptions on import of the provided python module (tables).
Instead a ValueError occurs:
ValueError: numpy.dtype has the wrong size, try recompiling
Long description:
after installing the python-tables package it is not possible to
import the tables module (that is provided by the package).
to reproduce just try to run the following code after installing the python-tables package:
python -c 'import tables'
here the Exception/Output:
----
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/tables/__init__.py", line 30, in <module>
from tables.utilsExtension import getPyTablesVersion, getHDF5Version
File "numpy.pxd", line 155, in init tables.utilsExtension (tables/utilsExtension.c:14478)
ValueError: numpy.dtype has the wrong size, try recompiling
----
So the problem seems to be related to a wrong numpy version when
compiling python-tables.
A possible hint/workaround: installation of python-tables using pip works fine:
pip install tables
(you may need a sudo if you're not on a virtualenv)
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python2.7-minimal 2.7.4-2ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Fri May 31 02:26:20 2013
ExecutablePath: /usr/bin/python2.7
InstallationDate: Installed on 2011-10-31 (577 days ago)
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
LocalLibraries: /usr/local/lib/python2.7/dist-packages/numpy/lib/_compiled_base.so /usr/local/lib/python2.7/dist-packages/numpy/linalg/lapack_lite.so /usr/local/lib/python2.7/dist-packages/numpy/core/_sort.so /usr/local/lib/python2.7/dist-packages/numpy/fft/fftpack_lite.so /usr/local/lib/python2.7/dist-packages/numpy/core/scalarmath.so /usr/local/lib/python2.7/dist-packages/numpy/core/multiarray.so /usr/local/lib/python2.7/dist-packages/numpy/random/mtrand.so /usr/local/lib/python2.7/dist-packages/numpy/core/umath.so
MarkForUpload: True
SourcePackage: python2.7
UpgradeStatus: Upgraded to raring on 2013-05-23 (7 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pytables/+bug/1186064/+subscriptions
More information about the foundations-bugs
mailing list