Greetings,
I have attempted to upgrade my Obspy package on my Mac OS 10.9.4 (Mavericks) from the previous version I was using (0.9.2_0) to 0.10.2_2, following the installation direction directions using MacPorts. I updated MacPorts using the self update command, and then I used [sudo port upgrade py27-obspy] to upgrade obspy, per the instructions on the installation page. From what I could tell, the upgrade completed successfully. So, I try to run a basic script which calls the obspy.core module, and I receive the following error:
Traceback (most recent call last):
File “Python_gui.py”, line 2, in
from obspy.core import read
File “/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/init.py”, line 38, in
version = _getVersionString(abbrev=10)
File “/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/version.py”, line 147, in get_git_version
release_version = read_release_version()
File “/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/obspy/core/util/version.py”, line 133, in read_release_version
with io.open(VERSION_FILE, “rt”) as fh:
LookupError: unknown encoding:
I was wondering what other steps need to be taken so that Obspy is upgraded successfully? From the error, it looks like some sort of version issue with Obspy, because if I run a Python script that does not call an Obspy module, the script runs fine.
Thanks for your help,
Greg