Error Installing obspy 1.0.3

Hi everyone,

I followed the installation guideline but am getting this error trying to install the new release, any help is appreciated.

conda install obspy
Fetching package metadata …
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:

  • obspy -> python 2.7*
  • python 3.6*
    Use "conda info " to see the dependencies for each package.

Thank you

Ayodeji

Hi Ayodeji,

sadly, we currently do not have Python 3.6 conda packages for ObsPy
1.0.3 on most platforms (see https://anaconda.org/conda-forge/obspy/files).

We'll check whether we can easily add those packages now (Python 3.6 was
still pretty new when ObsPy 1.0.3 was released and we overlooked not
having those packages ready)..

For a quick and short term solution, you could make a separate
environment with python 3.5 for obspy:

conda create -n py35-obspy python=3.5
# if you're on Linux, not sure what the acitvation looks like on Windows
source activate py35-obspy
conda install obspy

cheers,
T

Alternatively you could also uninstall ObsPy with conda and re-install
with pip which should work fine with Python 3.6. But then you'll have to
remember to uninstall the pip ObsPy at one point if you want to update
it with conda...

$ conda uninstall obspy

$ pip install obspy

Conda packages for Python 3.6 are out now on conda-forge channel:
https://anaconda.org/conda-forge/obspy/files?version=1.0.3

So, assuming you added the conda-forge channel as proposed in our
installation guide you should be able to..

$ conda install obspy

..also on Python 3.6 now.

cheers,
T