photutils: Cannot `import photutils` in a Google Colab notebook
It does not appear to be possible to import photutils
on the Google Colab platform!
I tried the following:
- Browse to https://colab.research.google.com and click “New Python 3 Notebook”
- Runtime > Reset all runtimes (just in case)
- Execute
!pip install photutils
(this works fine) - Execute
import photutils
Step 4 yields the following exception:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-2-e3d8b5fe96af> in <module>()
----> 1 import photutils
5 frames
/usr/local/lib/python3.6/dist-packages/astropy/utils/decorators.py in decorator(function)
443 'signature. If it was meant to be part of '
444 '"**kwargs" then set "arg_in_kwargs" to "True"'
--> 445 '.'.format(new_name[i]))
446
447 @functools.wraps(function)
TypeError: "None" was not specified in the function signature. If it was meant to be part of "**kwargs" then set "arg_in_kwargs" to "True".
Screenshot:
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (19 by maintainers)
yes, it’s interesting. They should either stick with 2.0.x or go to actual latest, 3.2.x