ERROR WHEN INSTALL H5PY

171 views
Skip to first unread message

Suyou Yang

unread,
Apr 26, 2016, 6:40:37 AM4/26/16
to h5py

Dear all:


When I installed h5py on a linux system, I met the following errors:



It said could not find pkgconfig, but I am sure the computer has installed this software. At first, I think it may becasue of the version of pkg-config is too old, so I installed the newest version of pkg-config,but still showing the same error. I quite want to know how to deal with this problem and anyone offers help would be grateful.


Thanks,


Suyou


James Tocknell

unread,
Apr 26, 2016, 9:24:18 AM4/26/16
to h5...@googlegroups.com
The problem is that setuptools cannot download pkgconfig (the python package). Why this is so depends on your setup (e.g. connection issues to PyPI, problematic settings in distutils.cfg). Can you pip install pkgconfig? If that works, can you easy_install pkgconfig?

James

--
You received this message because you are subscribed to the Google Groups "h5py" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h5py+uns...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Don't send me files in proprietary formats (.doc(x), .xls, .ppt etc.). It isn't good enough for Tim Berners-Lee, and it isn't good enough for me either. For more information visit http://www.gnu.org/philosophy/no-word-attachments.html.

Truly great madness cannot be achieved without significant intelligence.
 - Henrik Tikkanen

If you're not messing with your sanity, you're not having fun.
 - James Tocknell

In theory, there is no difference between theory and practice; In practice, there is.

Suyou Yang

unread,
Apr 26, 2016, 8:52:38 PM4/26/16
to h5...@googlegroups.com
Hi James,

Thank you for your kind answer. 

I have installed the pkg-config on the computer, why didn't the h5py detect its existing?

Suyou

发自我的 iPhone
You received this message because you are subscribed to a topic in the Google Groups "h5py" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/h5py/CoK5ym_brY8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to h5py+uns...@googlegroups.com.

James Tocknell

unread,
Apr 26, 2016, 9:39:27 PM4/26/16
to h5...@googlegroups.com
There are two separate things, pkg-config the program (https://www.freedesktop.org/wiki/Software/pkg-config/), which reads .pc files and returns what needs to be linked in, and pkgconfig (https://pypi.python.org/pypi/pkgconfig/1.1.0), the python package which wraps pkg-config, and converts the output of pkg-config into a format that python's packaging system can use. While you can install pkg-config (installing h5py doesn't require it, it just makes it easier to install), you need to be able to download/have installed pkgconfig (you also require cython and numpy). Did you successfully "pip install pkgconfig"? What about "easy_install pkgconfig"? The output from those commands will tell us what the problem is.

James
Reply all
Reply to author
Forward
0 new messages