Skip to content

Conversation

@zonca
Copy link

@zonca zonca commented Nov 10, 2020

Checking the version of photutils requires the packaging module.
See:

try:
import photutils
photutils_installed = True
from photutils.centroids import centroid_com
# account for API change
from packaging import version
photutils_version = version.parse(photutils.__version__)

I happened to have photutils installed, but it was not detected by imexam becase trying to import packaging was throwing ImportError.

@coveralls
Copy link

coveralls commented Nov 10, 2020

Coverage Status

Coverage increased (+0.2%) to 38.334% when pulling 8d4da3e on zonca:patch-1 into d6f21d1 on spacetelescope:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants