# Problems with old programs when running on newer ObsPy versions

**URL:** <https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950>\
**Category:** Usage Questions\
**Created:** [July 10, 2020, 7:53am UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950 "2020-07-10T07:53:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SorawatSiangpipop](https://discourse.obspy.org/user_avatar/discourse.obspy.org/sorawatsiangpipop/32/583_2.png) [@SorawatSiangpipop](https://discourse.obspy.org/u/SorawatSiangpipop)\
**Post date:** [July 10, 2020, 7:53am UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/1 "2020-07-10T07:53:56Z")

</div>

As an unprofessional in programming, I am currently using module Obspy in the programs. And I am struggling with “ImportError: No module named xseed.utils” which used to work on Anaconda with Obspy==1.0.2, perfectly: with Python==2.7.

However, recently, I have to transfer everything to Linux (Ubuntu 20.04) platform and I can only install Obspy==1.1.0 using “pip”, so on. My guess is there is some problems with “xseed.utils” and Obspy=\>1.1.0.

Therefore, I was wondering if you could give me any suggestion what is the problem about this, then how to solve it, and how to get Obspy==1.0.2 on Ubuntu.

I will be waiting for your reply and thank you in advance.

---

<div class="post-metadata">

**Author:** ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)\
**Post date:** [July 10, 2020, 8:37am UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/2 "2020-07-10T08:37:27Z")

</div>

Not sure what you mean by `"I have to transfer"`, but if you copy the installation to a completely different platform it might not work.

I would recommend making a fresh installation on your new machine, like outlined in the github wiki installation page using anaconda.

---

<div class="post-metadata">

**Author:** ![SorawatSiangpipop](https://discourse.obspy.org/user_avatar/discourse.obspy.org/sorawatsiangpipop/32/583_2.png) [@SorawatSiangpipop](https://discourse.obspy.org/u/SorawatSiangpipop)\
**Post date:** [July 10, 2020, 9:06am UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/3 "2020-07-10T09:06:20Z")

</div>

I meant I’m running the same code on Ubuntu, as used to be on Anaconda (Windows10).  
It perfectly works on Anaconda (Obspy==1.0.2), however, since I ran it on Ubuntu (Obspy==1.1.0) which the oldest version I can get with pip, the code shows error as showing.

---

<div class="post-metadata">

**Author:** ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)\
**Post date:** [July 10, 2020, 9:36am UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/4 "2020-07-10T09:36:51Z")

</div>

Ok, so I guess this might be about the big restructuring we did, moving to ObsPy version 1.0.0. You should have gotten `DeprecationWarnings` all the time if that is the case. In any case, please take a look at the very detailed “What’s New?” pages for our major releases, everything should be explained there:

- [Home · obspy/obspy Wiki · GitHub](https://github.com/obspy/obspy/wiki#news)
- [What's New in ObsPy 1.0 · obspy/obspy Wiki · GitHub](https://github.com/obspy/obspy/wiki/What%27s-New-in-ObsPy-1.0)
- [What's New in ObsPy 1.1 · obspy/obspy Wiki · GitHub](https://github.com/obspy/obspy/wiki/What%27s-New-in-ObsPy-1.1)
- [What's New in ObsPy 1.1 · obspy/obspy Wiki · GitHub](https://github.com/obspy/obspy/wiki/What%27s-New-in-ObsPy-1.1#deprecations-are-locked-and-loaded)
- [What's New in ObsPy 1.2 · obspy/obspy Wiki · GitHub](https://github.com/obspy/obspy/wiki/What%27s-New-in-ObsPy-1.2)

---

<div class="post-metadata">

**Author:** ![SorawatSiangpipop](https://discourse.obspy.org/user_avatar/discourse.obspy.org/sorawatsiangpipop/32/583_2.png) [@SorawatSiangpipop](https://discourse.obspy.org/u/SorawatSiangpipop)\
**Post date:** [July 10, 2020, 2:54pm UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/5 "2020-07-10T14:54:56Z")

</div>

Thank you so much.

obspy.mseed =\> obspy.io.mseed

---

<div class="post-metadata">

**Author:** ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)\
**Post date:** [July 10, 2020, 2:59pm UTC](https://discourse.obspy.org/t/problems-with-old-programs-when-running-on-newer-obspy-versions/950/6 "2020-07-10T14:59:48Z")

</div>

You’re welcome, we had `DeprecationWarnings` showing up for each import that would have had to be changed all through the ObsPy 1.0.x version cycle, but most people just ignore these anyway.. 😉
