I used setup.py build and install to have things properly installed under Ubuntu 16.04.4. I then tried to run the sarpy_example.py but I'm stuck in this error:
AttributeError: 'module' object has no attribute 'BufferedIOBase'
After some reading, it looks to be a conflict with the 'io' directory within 'sarpy':
https://stackoverflow.com/questions/32657580/class-gzipfileio-bufferediobase-attributeerror-module-object-has-no-attrib?noredirect=1&lq=1
I'm really not familiar with python and I don't know how to fix similar issues. It seems that renaming such 'io' directory to something else should solve the problem, but then all the code and package paths should be updated accordingly.