cannot import name TauPyModel

I am running obspy-0.10.1.

from obspy.taup import TauPyModel

generates the following error:

Hi John,

this should definitly work; are you sure ObsPy is installed correctly and the old version has been uninstalled? I suspect that the old ObsPy version is somehow still installed and there is some mixup.

You can print the version with

import obspy

You can access the path of the installed obspy.taup version with

import obspy.taup

Can you also run the taup test suite? The -r flag means that the result is sent to us so we can have a better look.

$ obspy-runtests -r taup



You are correct. I was running an older version.
All OK now.
Thanks, John