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 getting this error when I import pyclesperanto_prototype
AttributeError Traceback (most recent call last)
Input In [5], in <cell line: 1>()
----> 1 import pyclesperanto_prototype as cle
File ~\.conda\envs\imanalysis-env\lib\site-packages\pyclesperanto_prototype\__init__.py:8, in <module>
6 from ._tier5 import *
7 from ._tier6 import *
----> 8 from ._tier8 import *
9 from ._tier9 import *
10 from ._tier10 import *
File ~\.conda\envs\imanalysis-env\lib\site-packages\pyclesperanto_prototype\_tier8\__init__.py:1, in <module>
----> 1 from ._affine_transform import affine_transform
2 from ._AffineTransform3D import AffineTransform3D
3 from ._apply_vector_field import apply_vector_field
File ~\.conda\envs\imanalysis-env\lib\site-packages\pyclesperanto_prototype\_tier8\_affine_transform.py:7, in <module>
5 from .._tier0 import push
6 from .._tier0 import create, create_like, create_none
----> 7 from ._AffineTransform3D import AffineTransform3D
8 from skimage.transform import AffineTransform
9 import numpy as np
File ~\.conda\envs\imanalysis-env\lib\site-packages\pyclesperanto_prototype\_tier8\_AffineTransform3D.py:4, in <module>
1 from warnings import warn
3 import numpy as np
----> 4 import transforms3d
5 import math
6 from ._utilities import shear_angle_to_shear_factor
File ~\.conda\envs\imanalysis-env\lib\site-packages\transforms3d\__init__.py:10, in <module>
8 from . import taitbryan
9 from . import affines
---> 10 from . import quaternions
11 from . import euler
12 from . import axangles
File ~\.conda\envs\imanalysis-env\lib\site-packages\transforms3d\quaternions.py:26, in <module>
23 import math
24 import numpy as np
---> 26 _MAX_FLOAT = np.maximum_sctype(np.float)
27 _FLOAT_EPS = np.finfo(np.float).eps
30 def fillpositive(xyz, w2_thresh=None):
File ~\AppData\Roaming\Python\Python39\site-packages\numpy\__init__.py:305, in __getattr__(attr)
300 warnings.warn(
301 f"In the future `np.{attr}` will be defined as the "
302 "corresponding NumPy scalar.", FutureWarning, stacklevel=2)
304 if attr in __former_attrs__:
--> 305 raise AttributeError(__former_attrs__[attr])
307 # Importing Tester requires importing all of UnitTest which is not a
308 # cheap import Since it is mainly used in test suits, we lazy import it
309 # here to save on the order of 10 ms of import time for most users
310 #
311 # The previous way Tester was imported also had a side effect of adding
312 # the full `numpy.testing` namespace
313 if attr == 'testing':
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. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
Numpy version is 1.24.4
I am going to downgrade it, but just so you know!
The text was updated successfully, but these errors were encountered:
Hi,
I am getting this error when I import pyclesperanto_prototype
Numpy version is 1.24.4
I am going to downgrade it, but just so you know!
The text was updated successfully, but these errors were encountered: