spectralpython / spectral

Python module for hyperspectral image processing
MIT License
573 stars 139 forks source link

aviris.open fails in python3 #54

Closed tboggs closed 7 years ago

tboggs commented 7 years ago

In python3, an ImportError is raised by aviris.open because exceptions is no longer a module in python3 (built-in exceptions are in the global namespace).

https://github.com/spectralpython/spectral/blob/master/spectral/io/aviris.py#L67

The bug can be fixed by simply removing the import statement.