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
#Support for seven data type string aliases has been removed from np.dtype: int0, uint0, void0, object0, str0, bytes0 and bool8.
(gh-24807)
Traceback (most recent call last):
File "./src/my_script.py", line 9, in <module>
from voxcell import RegionMap, VoxelData
File "./venv2/lib/python3.11/site-packages/voxcell/__init__.py", line 6, in <module>
from voxcell.voxel_data import (
File "./venv2/lib/python3.11/site-packages/voxcell/voxel_data.py", line 4, in <module>
import nrrd
File "./venv2/lib/python3.11/site-packages/nrrd/__init__.py", line 2, in <module>
from nrrd.formatters import *
File "./venv2/lib/python3.11/site-packages/nrrd/formatters.py", line 3, in <module>
import nptyping as npt
File "./venv2/lib/python3.11/site-packages/nptyping/__init__.py", line 30, in <module>
from nptyping.ndarray import NDArray
File "./venv2/lib/python3.11/site-packages/nptyping/ndarray.py", line 32, in <module>
from nptyping.shape_expression import (
File "./venv2/lib/python3.11/site-packages/nptyping/shape_expression.py", line 35, in <module>
from nptyping.typing_ import Literal
File "./venv2/lib/python3.11/site-packages/nptyping/typing_.py", line 66, in <module>
Bool8: TypeAlias = np.bool8
^^^^^^^^
File "./venv2/lib/python3.11/site-packages/numpy/__init__.py", line 410, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?
Looks like this is not directly a voxcell issue but maybe capping the numpy version can help prevent this problem?
The text was updated successfully, but these errors were encountered:
https://numpy.org/devdocs/release/2.0.0-notes.html
#Support for seven data type string aliases has been removed from np.dtype: int0, uint0, void0, object0, str0, bytes0 and bool8.
(gh-24807)
Looks like this is not directly a voxcell issue but maybe capping the numpy version can help prevent this problem?
The text was updated successfully, but these errors were encountered: