ImportError: No module named sac obspy

Try import obspy.io.sac.

This will import the sac module which I believe you are looking for. It’s always worth checking the docs to understand the submodule structure of a package.

1 Like