[obspy-users] subprocess32

Akiko To ato at jamstec.go.jp
Fri Feb 3 17:04:17 CET 2017


Dear all,

 I’ve just undated obspy using MacPorts by following the explanations of
https://github.com/obspy/obspy/wiki/Installation-on-Mac-OS-X-using-Macports

Now I get the following error message when I try to import obspy.
It seems to say  that subprocess32 is missing.
I would appreciate any advice..
Regards,
Akiko 

>>> import obspy
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/__init__.py", line 43, in <module>
    read.__doc__ % make_format_plugin_table("waveform", "read", numspaces=4)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/base.py", line 391, in make_format_plugin_table
    "obspy.plugin.%s.%s" % (group, name), method)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2290, in load
    self.require(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2307, in require
    items = working_set.resolve(reqs, env, installer)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'subprocess32' distribution was not found and is required by matplotlib



More information about the obspy-users mailing list