Dear sir,
Why I am getting this error with Colab?
“cannot import name ‘_get_valid_format’ from ‘astropy.io.registry’ (/usr/local/lib/python3.9/dist-packages/astropy/io/registry/init.py)”
Thank you
Why I am getting this error with Colab?
“cannot import name ‘_get_valid_format’ from ‘astropy.io.registry’ (/usr/local/lib/python3.9/dist-packages/astropy/io/registry/init.py)”
Thank you
Hi Arunan,
That seems to be related to an old bug in GWpy. See this issue.
Do you have your GWpy version pinned? Do you have any ! pip install gwpy
line?
If so, you may want to update GWpy to the latest version, or downgrade Astropy to a previous version.
Hi Martinberoiz,
Thank you. It is working with update.