Missing Cython makes import pytables fail on importing utilsExtension module

Bug #509100 reported by rawphi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pytables (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Pytables package is missing the dependency on the Cython package, and thus (if cython happens to not be installed otherwise) will fail to load. this bug is in both 2.0.3-1ubuntu1 (karmic) and 2.1.2-3 (lucid) packages

fix: install cython package manually (apt-get install cython)

Error message when loading tabels:

In [60]: import tables
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)

/home/raphael/Desktop/simulation/sparserandommatrix.py in <module>()
----> 1
      2
      3
      4
      5

/usr/lib/python2.6/dist-packages/tables/__init__.pyc in <module>()
     74 # Import the user classes from the proper modules

     75 from tables.exceptions import *
---> 76 from tables.file import File, openFile, copyFile
     77 from tables.node import Node
     78 from tables.group import Group

/usr/lib/python2.6/dist-packages/tables/file.py in <module>()
     42
     43 import tables.misc.proxydict
---> 44 from tables import hdf5Extension
     45 from tables import utilsExtension
     46 from tables.parameters import \

/home/raphael/Desktop/simulation/hdf5Extension.pyx in hdf5Extension()
      9
     10
---> 11
     12
     13

ImportError: No module named utilsExtension

rawphi (raphael-ist)
description: updated
description: updated
Revision history for this message
David Fokkema (dfokkema) wrote :

No longer affects natty.

Revision history for this message
Julian Taylor (jtaylor) wrote :

you seem to accidentally import a file from your home folder which causes the problem.
/home/raphael/Desktop/simulation/hdf5Extension.pyx in hdf5Extension()

the import statement succeeds for me in lucid.

Changed in pytables (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.