smousavi05 / EQTransformer

EQTransformer, a python package for earthquake signal detection and phase picking using AI.
https://rebrand.ly/EQT-documentations
MIT License
305 stars 148 forks source link

Issues installing the package via Conda #90

Closed Huang-ED closed 3 years ago

Huang-ED commented 3 years ago

When I was trying to install the package using conda install -c smousavi05 eqtransformer, the error message shown below occurred.

python version in the eqt environment is 3.7, trued python=2.7, python=3.8 but they didn't solve the problem.

Issues installing EQTransformer

Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

chinu739 commented 2 years ago

How did you solve it?

Saneesh-Ali commented 2 years ago

How did you solve it?

Huang-ED commented 2 years ago

How did I solve it?

  1. Try pip install EQTransformer. Got some error saying "EQTransformer=0.1.59 requires scipy=1.4.1
  2. Try pip list. Noticed that my scipy version is 1.7.1.
  3. Use conda install scipy=1.4.1 to downgrade the scipy package.
  4. Try pip install EQTransformer again. Successful!
Saneesh-Ali commented 2 years ago

Thank you, I also solved it by pip install EQTransformer