You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pip installed the latest numpy and get the below error. The error goes away if I roll back to v1.15.4.
The most closely related issue I could find is #12028.
Reproducing code example:
importnumpyasnp
Error message:
Traceback (most recent call last):
File "/home/trey/script.py", line 6, in <module>
import numpy as np
File "/home/trey/.local/lib/python3.6/site-packages/numpy/__init__.py", line 142, in <module>
from . import core
File "/home/trey/.local/lib/python3.6/site-packages/numpy/core/__init__.py", line 59, in <module>
from . import numeric
File "/home/trey/.local/lib/python3.6/site-packages/numpy/core/numeric.py", line 3093, in <module>
from . import fromnumeric
File "/home/trey/.local/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 17, in <module>
from . import _methods
File "/home/trey/.local/lib/python3.6/site-packages/numpy/core/_methods.py", line 158, in <module>
_NDARRAY_ARRAY_FUNCTION = mu.ndarray.__array_function__
AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'
Numpy/Python version information:
1.16.0
3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0]
I pip installed the latest numpy and get the below error. The error goes away if I roll back to v1.15.4.
The most closely related issue I could find is #12028.
Reproducing code example:
Error message:
Numpy/Python version information:
1.16.0
3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0]