[CIG-SHORT] Problem building pylith 2.2.1 from source on macOS

Brad Aagaard baagaard at usgs.gov
Tue Nov 13 19:17:16 PST 2018


Josimar,

h5py is trying to install pkgconfig (a dependency) from an URL via 
https. It isn't clear to me why this is happening. Can you verify that 
you are using the Apple Python and Apple clang compilers? Do you have 
any Python tools installed from sources other than the PyLith installer 
that could be interfering? I can't seem to reproduce this error on my 
machine.

Regards,
Brad


On 11/12/18 3:04 PM, Josimar Alves da Silva wrote:
> Hi Brad,
> 
> I am trying to build pylith-2.2.1 from source but the compilation stops 
> at the h5py installation.  My machine runs on macOS v. 10.13.6. Note 
> that I was able to build it on a linux computer without any problems.
> 
> A summary of the error is below and the complete full set log is 
> attached. Would you have any suggestions to fix this issue ?
> 
> Thank you,
> Josimar
> 
> Error summary:
> 
> Download error on https://pypi.org/simple/pkgconfig/: unknown url type: 
> https -- Some packages may not be found!
> 
> Couldn't find index page for 'pkgconfig' (maybe misspelled?)
> 
> Download error on https://pypi.org/simple/: unknown url type: https -- 
> Some packages may not be found!
> 
> No local packages or working download links found for pkgconfig
> 
> Traceback (most recent call last):
> 
>    File "setup.py", line 167, in <module>
> 
>      cmdclass = CMDCLASS,
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/setuptools/__init__.py", 
> line 128, in setup
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/setuptools/__init__.py", 
> line 123, in _install_setup_requires
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/setuptools/dist.py", line 
> 504, in fetch_build_eggs
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/pkg_resources/__init__.py", 
> line 774, in resolve
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/pkg_resources/__init__.py", 
> line 1057, in best_match
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/pkg_resources/__init__.py", 
> line 1069, in obtain
> 
>    File "build/bdist.macosx-10.13-x86_64/egg/setuptools/dist.py", line 
> 571, in fetch_build_egg
> 
>    File 
> "build/bdist.macosx-10.13-x86_64/egg/setuptools/command/easy_install.py", line 
> 667, in easy_install
> 
> distutils.errors.DistutilsError: Could not find suitable distribution 
> for Requirement.parse('pkgconfig')
> 
> make[2]: *** [h5py] Error 1
> 
> make[1]: *** [installed_h5py] Error 2
> 
> make: *** [installed_pylith] Error 2
> 
> 


More information about the CIG-SHORT mailing list