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
Describe the bug
When I run "Import probnum as pn" and it runs the init.py file, I get an attribute error: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead.
I downloaded probnum in a new/fresh conda environment, with no other packages installed prior to installing probnum (apart from the ones that are automatically installed in the process of installing the probnum package).
To Reproduce
Create a new conda environment with the most recent python version. Install pip, then run "pip install probnum". Open a python script and run "import probnum as pn" with no other lines of code.
Expected behavior
I would expect no attribute error to appear when importing the package.
Describe the bug
When I run "Import probnum as pn" and it runs the init.py file, I get an attribute error:
np.float_
was removed in the NumPy 2.0 release. Usenp.float64
instead.I downloaded probnum in a new/fresh conda environment, with no other packages installed prior to installing probnum (apart from the ones that are automatically installed in the process of installing the probnum package).
To Reproduce
Create a new conda environment with the most recent python version. Install pip, then run "pip install probnum". Open a python script and run "import probnum as pn" with no other lines of code.
Expected behavior
I would expect no attribute error to appear when importing the package.
System:
The text was updated successfully, but these errors were encountered: