paudetseis / Telewavesim

Teleseismic body wave modeling through stacks of (submarine/anisotropic) layers
https://paudetseis.github.io/Telewavesim/
MIT License
66 stars 18 forks source link

Failed installation, too #45

Closed jhtong33 closed 2 years ago

jhtong33 commented 2 years ago

Hi~ I'm glad that I can use Telewavesim to simulate SKS waveform. But I have an installation problem!

My environment: python 3.7 (MacOS ver 11.2.3 for MacBook air M1) & installed gfortran (also I tested in my Mac mini MacOS 10.15)

When I import telewavesim, I had error about: OSError: dlopen(/Users/tong/opt/anaconda3/envs/tws/lib/libncurses++.a, 6): no suitable image found. Did find: /Users/tong/opt/anaconda3/envs/tws/lib/libncurses++.a: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A /Users/tong/opt/anaconda3/envs/tws/lib/libncurses++.a: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A

Surely, I also had re-installed. The problem is urgent to me, thank you in advance.

trichter commented 2 years ago

Hi, can you try to install the development version with e.g.

pip install https://github.com/paudetseis/Telewavesim/archive/master.zip

and check your error persists?

Edit: How did you install telewavesim? Can you post the full traceback?

jhtong33 commented 2 years ago

Yes!!! the development version can successfully import. Thank you so much!

trichter commented 2 years ago

Great, that it worked. The fix is included in the latest release v0.2.1 (released 12 hours ago).