FloatCSEP
From SCECpedia
Jump to navigationJump to search
Testing of latest floatCSEP tutorials...
Contents
read the docs links for floatCSEP
Mac Hardward
- Macbook pro Quad-core Intel i5
- Sonoma 14.7
Conda environment on Mac
/Users/maechlin/dev $ conda info
active environment : base active env location : /Users/maechlin/anaconda3 shell level : 1 user config file : /Users/maechlin/.condarc populated config files : /Users/maechlin/.condarc conda version : 23.5.0 conda-build version : 3.18.11 python version : 3.8.15.final.0
$ conda list
- pycsep 0.6.2 pyhd8ed1ab_0 conda-forge
Update to conda environment command:
- conda create --name csep_env
- conda activate csep_env
- conda install python=3.11
- clone https://github.com/cseptesting/floatcsep
- cd floatcsep
- pip install .
- Error on build of obspy -
copying obspy/signal/tests/data/tiny_quality_file.mseed -> build/lib.macosx-10.13-x86_64-cpython-311/obspy/signal/tests/data copying obspy/signal/tests/data/unknown.resp -> build/lib.macosx-10.13-x86_64-cpython-311/obspy/signal/tests/data creating build/lib.macosx-10.13-x86_64-cpython-311/obspy/signal/tests/data/segfaulting_RESPs copying obspy/signal/tests/data/segfaulting_RESPs/RESP.IE.LLRI..EHZ -> build/lib.macosx-10.13-x86_64-cpython-311/obspy/signal/tests/data/segfaulting_RESPs running build_ext building 'gcf' extension creating build/temp.macosx-10.13-x86_64-cpython-311/obspy/io/gcf/src clang -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/maechlin/anaconda3/envs/csep_env/include -fPIC -O2 -isystem /Users/maechlin/anaconda3/envs/csep_env/include -I/Users/maechlin/anaconda3/envs/csep_env/include/python3.11 -c obspy/io/gcf/src/gcf_io.c -o build/temp.macosx-10.13-x86_64-cpython-311/obspy/io/gcf/src/gcf_io.o xcode-select: note: No developer tools were found, requesting install. If developer tools are located at a non-default location on disk, use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog. See `man xcode-select` for more details. 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 obspy Successfully built floatcsep pycsep Failed to build obspy ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (obspy)