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 am trying to create a NDarray using np.array() with a Dtype of Numpy.np.bool_, however when the runtime gets to executing this np.array() the following error occurs. I have tripled checked that I have used np.bool_ rather than np.bool8 and am completely baffled by this error. Any ideas?
Unhandled exception. Python.Runtime.PythonException: module 'numpy' has no attribute 'bool8'
File "/opt/homebrew/Cellar/[email protected]/3.11.11/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/numpy/init.py", line 414, in getattr
raise AttributeError("module {!r} has no attribute "
at Python.Runtime.PythonException.ThrowLastAsClrException()
at Python.Runtime.PyObject.GetAttr(String name)
at Numpy.np.get_bool8()
at Numpy.DtypeExtensions.GetDtype(Object obj)
at Numpy.np.array[T](T[] object, Dtype dtype, Nullable1 copy, String order, Nullable1 subok, Nullable`1 ndmin)
The text was updated successfully, but these errors were encountered:
I am trying to create a NDarray using np.array() with a Dtype of Numpy.np.bool_, however when the runtime gets to executing this np.array() the following error occurs. I have tripled checked that I have used np.bool_ rather than np.bool8 and am completely baffled by this error. Any ideas?
The text was updated successfully, but these errors were encountered: