Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aviris.open fails in python3 #54

Closed
tboggs opened this issue Oct 22, 2016 · 0 comments
Closed

aviris.open fails in python3 #54

tboggs opened this issue Oct 22, 2016 · 0 comments
Labels
Milestone

Comments

@tboggs
Copy link
Member

tboggs commented Oct 22, 2016

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.

@tboggs tboggs added the bug label Oct 22, 2016
@tboggs tboggs added this to the v0.19 milestone Oct 22, 2016
@tboggs tboggs closed this as completed in 6be8144 Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant