Deprecation of astropy.extern.six in Astropy 4.0
Hoeijmakers opened this issue · 1 comments
Hoeijmakers commented
When running PandExo with the latest version of Astropy, module import errors of the kind ModuleNotFoundError: No module named 'astropy.extern.six'
in astroquery prevent the execution of PandExo.
This can be fixed by altering all import statements that use import astropy.extern.six
into import six
. There are on the order of 10 such occurrences. Although this is not an issue internal to PandExo, with the upcoming JWST deadline, a warning in the documentation might be useful.
Hoeijmakers commented
Scratch that. I was using an intermediate developer version of astropy that was causing this error.