usgs / groundmotion-processing

Parsing and processing ground motion data
Other
54 stars 41 forks source link

Error installing on macOS 11.4 #1065

Closed dtdangkua closed 1 year ago

dtdangkua commented 1 year ago

Hi, I got an error while installing the code using the command below

pip install .

The error message at the end as follows,

" 2 warnings and 3 errors generated. error: command '/usr/bin/clang' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for h5py Successfully built gmprocess Failed to build h5py ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects "

h5py version: 1.12.2_2 python version: 3.11.0 OS: macOS 11.4 System: x86_64-apple-darwin20.6.0 Intel processor

Please advise. Thanks.

Donny

gferragu commented 1 year ago

Hey @dtdangkua, I'd try backing down to an earlier version of Python and see if that works. It looks like the issue is actually because h5py may not currently support wheels for Python 3.11.

gferragu commented 1 year ago

Also,, @dtdangkua note that the code has moved to https://code.usgs.gov/ghsc/esi/groundmotion-processing. At the moment it's difficult for public users to make issues on our Gitlab page, but we are working on a better solution and opening issues here in the meantime is fine

gferragu commented 1 year ago

Closing this for now unless I hear otherwise