File "C:\anaconda3\Lib\site-packages\pylidc\Contour.py", line 111, in tomatrix
return np.c[ij, k].astype(np.int)
^^^^^^
File "C:\Users\a0922\AppData\Roaming\Python\Python311\site-packages\numpy__init.py", line 319, in getattr
raise AttributeError(former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself.
File "C:\anaconda3\Lib\site-packages\pylidc\utils.py", line 144, in volume_viewer
for c in find_contours(mask[slc(i)].astype(np.float), 0.5):
^^^^^^^^
File "C:\Users\a0922\AppData\Roaming\Python\Python311\site-packages\numpy__init.py", line 319, in getattr
raise AttributeError(former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself.
File "C:\anaconda3\Lib\site-packages\pylidc\Contour.py", line 111, in tomatrix return np.c[ij, k].astype(np.int) ^^^^^^ File "C:\Users\a0922\AppData\Roaming\Python\Python311\site-packages\numpy__init.py", line 319, in getattr raise AttributeError(former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'int'.
np.int
was a deprecated alias for the builtinint
. To avoid this error in existing code, useint
by itself.File "C:\anaconda3\Lib\site-packages\pylidc\utils.py", line 144, in volume_viewer for c in find_contours(mask[slc(i)].astype(np.float), 0.5): ^^^^^^^^ File "C:\Users\a0922\AppData\Roaming\Python\Python311\site-packages\numpy__init.py", line 319, in getattr raise AttributeError(former_attrs__[attr]) AttributeError: module 'numpy' has no attribute 'float'.
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself.