[I'm revising the bounced messages to the PyTables list.  Please make 
sure that you send messages from a *subscribed* address before to click 
the send button]

On 08-08-15 05:08 "Kees, Christopher E" wrote:
> Hi,
>
> I have a minor problem with my installation of PyTables on MacOSX
> 10.5. It looks like modules in subdirectories of tables can't find
> some of the "private" modules in the tables directory. This happens
> with utilsExtension:
>
> % python
> Python 2.6b2+ (trunk:65680, Aug 14 2008, 13:52:40)
> [GCC 4.0.1 (Apple Inc. build 5484)] on darwin
> Type "help", "copyright", "credits" or "license" for more
> information.
>
> >>> import tables
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/si
>te-pack ages/tables/__init__.py", line 76, in <module>
>     from tables.file import File, openFile, copyFile
>   File
> "/Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/si
>te-pack ages/tables/file.py", line 44, in <module>
>     from tables import hdf5Extension
>   File "hdf5Extension.pyx", line 11, in hdf5Extension
> ImportError: No module named utilsExtension
>
> When I explicitly set the python path to the installed tables module
> the problem goes away and the tables module appears to be fully
> functional:
>
> % setenv PYTHONPATH
> /Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/sit
>e-packa ges/tables/
>
> % python
> Python 2.6b2+ (trunk:65680, Aug 14 2008, 13:52:40)
> [GCC 4.0.1 (Apple Inc. build 5484)] on darwin
> Type "help", "copyright", "credits" or "license" for more
> information.
>
> >>> import tables
> >>> tables.test()
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>=-=-=-= PyTables version:  2.0.4
> HDF5 version:      1.8.1
> NumPy version:     1.1.1
> Zlib version:      1.2.3
> BZIP2 version:     1.0.4 (20-Dec-2006)
> Python version:    2.6b2+ (trunk:65680, Aug 14 2008, 13:52:40)
> [GCC 4.0.1 (Apple Inc. build 5484)]
> Platform:          darwin-i386
> Byte-ordering:     little
> ...
> Ran 5747 tests in 48.723s
>
> OK
>
> Is this a problem with the python interpreter or does the layout of
> the tables directory have a problem that just doesn't effect most
> systems?

This was a problem with the layout of the file extensions and has been 
fixed in trunk a few days ago.  More info in:

http://www.pytables.org/trac/ticket/183

Cheers,

-- 
Francesc Alted
Freelance developer
Tel +34-964-282-249

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to