<div dir="ltr"><div style="font-size:12.8px">Obspy maintains a separate APT repository for Debian/Ubuntu, which must be configured before it can be used.  Their instructions for installation are on this page:</div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><a href="https://github.com/obspy/obspy/wiki/Installation-on-Linux-via-Apt-Repository" target="_blank">https://github.com/obspy/obspy/wiki/Installation-on-Linux-via-Apt-Repository</a></blockquote><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 2:03 PM, D. R. Evans <span dir="ltr"><<a href="mailto:doc.evans@gmail.com" target="_blank">doc.evans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">D. R. Evans wrote on 01/14/2016 08:48 AM:<br>
> Simpson, Hal wrote on 01/13/2016 03:39 PM:<br>
>> In order to use geomag-algorithms,  you need python installed,  with the<br>
>> supporting libraries, numpy, scipy, obspy, and flake8.   We generally<br>
>> suggest installing anaconda, as it comes with numpy and scipy,  and<br>
>> installing obspy and flake8 is simple using it's conda routine.<br>
><br>
> Thank you for the speedy reply; I am afraid that you have rather lost me,<br>
> though :-(<br>
><br>
> Debian stable provides:<br>
>   python-numpy<br>
>   python-scipy<br>
>   python-flake8<br>
> but no<br>
>   python-obspy<br>
><br>
<br>
</span>So, in the absence of any further guidance, I installed the first three<br>
packages; but, not unexpectedly, when I try to run geomag.py, I still get the<br>
error:<br>
<br>
----<br>
<br>
[HN:bin] ./geomag.py<br>
<span class="">Traceback (most recent call last):<br>
  File "./geomag.py", line 13, in <module><br>
    from geomagio.Controller import main, parse_args<br>
  File "/tmp/usgs/geomag-algorithms-master/geomagio/__init__.py", line 5, in<br>
<module><br>
    import StreamConverter<br>
  File "/tmp/usgs/geomag-algorithms-master/geomagio/StreamConverter.py", line<br>
11, in <module><br>
    import obspy.core<br>
ImportError: No module named obspy.core<br>
[HN:bin]<br>
<br>
----<br>
<br>
</span>I can't find any instructions that suggest what to do next, (in particular,<br>
how to install obspy) so all I can think of to do is to repeat a part of my<br>
prior e-mail:<br>
<span class="im HOEnZb"><br>
> So how do I install obspy, since there seems to be no official debian package?<br>
> (I'm a C++ programmer; I have no idea about how packaging works for python. I<br>
> expect and hope that there's some simple way to install external packages such<br>
> as obspy, as there is for R.)<br>
><br>
> I'm wondering if there's a misunderstanding somewhere. Do I really need to<br>
> install all this just to download near-real-time data once per minute? When I<br>
> first asked about obtaining the data, I was expecting a response along the<br>
> lines of: "the new URL is: <XXX>", so I could just wget the data every minute<br>
> in the same way as in the past.<br>
><br>
<br>
</span><div class="HOEnZb"><div class="h5">  Doc Evans<br>
<br>
--<br>
Web:  <a href="http://www.sff.net/people/N7DR" rel="noreferrer" target="_blank">http://www.sff.net/people/N7DR</a><br>
<br>
</div></div><br>_______________________________________________<br>
Geomag-data mailing list<br>
<a href="mailto:Geomag-data@geohazards.usgs.gov">Geomag-data@geohazards.usgs.gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/geomag-data" rel="noreferrer" target="_blank">https://geohazards.usgs.gov/mailman/listinfo/geomag-data</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







Hal Simpson<br>IT Specialist<br>USGS Geomagnetism Program<br>Office:303-273-8459<br>Email:<a href="mailto:hasimpson@usgs.gov" target="_blank">hasimpson@usgs.gov</a></div></div>
</div>