HI,

I resolved the problem, but not in the nicest way.

I found out, by mere coincidence, that I could import tables (from
within ipython) in ~/tables-2.1.1/, but not in any other directory.
Hence, I copied ~/tables-2.1.1/tables to a library directory included
in PYTHONPATH. Now it works.

However, I do not quite understand why python setup.py install (as
root) did not store pytables in a system-wide correct location.

bye

Nicky

2009/7/17 nicky van foreest <vanfore...@gmail.com>:
> Hi all,
>
> Installing pytables 2.1.1 on ubuntu fails. I followed all suggestions
> I could find, but to no avail it appears. This is what I did:
>
> - installed: python-dev and libhdf5-serial-dev
> - downloaded pytables 2.1.1, coompiled as explained in the manual, the
> tests run fine.
> - installed as root with python setup.py install
>
> But still I get:
>
> chuck~>python
> Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
> [GCC 4.3.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import tables
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
>  File "/usr/lib/python2.6/dist-packages/tables/__init__.py", line 76,
> in <module>
>    from tables.file import File, openFile, copyFile
>  File "/usr/lib/python2.6/dist-packages/tables/file.py", line 44, in <module>
>    from tables import hdf5Extension
>  File "hdf5Extension.pyx", line 11, in hdf5Extension
> ImportError: No module named utilsExtension
>
> Does anybody have a clue?
>
> This experience is somewhat painful as I just changed from gentoo,
> where pytables worked (but other stuff didn't).
>
> Thanks
>
> Nicky
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to