import _erfa fails for numpy 1.14
See original GitHub issueOn 3.2rc1 with numpy 1.14.5 installed import astropy.table
fails in _erfa
boiling down to this ufunc
import error:
Python 3.7.3 (default, May 5 2019, 04:25:55)
[Clang 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import astropy.table
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/sw/lib/python3.7/site-packages/astropy/table/__init__.py", line 41, in <module>
from .column import Column, MaskedColumn, StringTruncateWarning, ColumnInfo
File "/sw/lib/python3.7/site-packages/astropy/table/column.py", line 26, in <module>
from . import groups
File "/sw/lib/python3.7/site-packages/astropy/table/groups.py", line 7, in <module>
from .index import get_index_by_names
File "/sw/lib/python3.7/site-packages/astropy/table/index.py", line 38, in <module>
from astropy.time import Time
File "/sw/lib/python3.7/site-packages/astropy/time/__init__.py", line 2, in <module>
from .formats import *
File "/sw/lib/python3.7/site-packages/astropy/time/formats.py", line 16, in <module>
from astropy import _erfa as erfa
File "/sw/lib/python3.7/site-packages/astropy/_erfa/__init__.py", line 3, in <module>
from .core import *
File "/sw/lib/python3.7/site-packages/astropy/_erfa/core.py", line 40, in <module>
from . import ufunc
ValueError: expect dimension name at position 1 in "(3),(3),(),()->(3)"
With numpy 1.16.3 this succeeds, but I did not find any note that NUMPY_LT_1_16
support has already been removed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:36 (36 by maintainers)
Top Results From Across the Web
Numpy version issue when using astropy - Stack Overflow
I was curious so just to try, I tried import astropy and of course had the same error. Nevertheless, I do have numpy...
Read more >Troubleshooting ImportError — NumPy v1.24 Manual
The best thing to do if you see this error is to contact the maintainers of the package that is causing problem so...
Read more >NumPy 1.14.5 Release Notes
This is a bugfix release for bugs reported following the 1.14.4 release. The most significant fixes are: fixes for compilation errors on alpine...
Read more >NumPy 1.21.0 Release Notes
(This also happens for some other dtypes.) Since comparisons normally only return boolean arrays, providing any other dtype will always raise an error...
Read more >Setting up and using your development environment - NumPy
Having compiled code also means that importing NumPy from the development ... you into the Python debugger when a test fails or an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To summarize the slack thread:
@dhomeier - thanks for all the sleuthing - at least, we understand now where the problem lies. Remains to understand how best to solve it…