On Sat, Sep 25, 2010 at 2:03 PM, Lisandro Dalcin <[email protected]> wrote: > On 25 September 2010 12:10, Darren Dale <[email protected]> wrote: >> Hello, >> >> I am attempting to contribute to the h5py project by porting the code >> to python3. The code is available in the py3k branch at github >> (http://github.com/darrendale/h5py/tree/py3k). So far, I am able to >> build and install h5py using python3, but when I try to import it, I >> get the following error: >> >> Python 3.1.2 (release31-maint, Sep 17 2010, 20:27:33) >> [GCC 4.4.5] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >>>>> import h5py >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> File >> "/home/darren/.local/lib/python3.1/site-packages/h5py-1.3.1.dev-py3.1-linux-x86_64.egg/h5py/__init__.py", >> line 24, in <module> > > Is h5py-1.3.1.dev-py3.1-linux-x86_64.egg a directory or a zip file?
It is a directory, not a zipfile. [...] > Finally, consider stop using setuptools. And stop using easy_install, use pip. The trouble I am having is not related to distribute/setuptools/easy_install. I get the same import errors if I clean my environment of distribute/setuptools/easy_install/h5py, and then build and install h5py from scratch using distutils. Darren _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
