allesfitter is a convenient wrapper around the packages ellc (light curve and RV models), dynesty (static and dynamic nested sampling) emcee (Markov Chain Monte Carlo sampling) and celerite (Gaussian Process models).
MIT License
60
stars
36
forks
source link
np.VisibleDeprecationWarning startup error in basement.py #78
When importing allesfitter, numpy raises the error that np.VisibleDeprecationWarning on line 29 doesn't exist
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\allesfitter\basement.py", line 29, in <module>
warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\numpy\__init__.py", line 428, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'VisibleDeprecationWarning'
As far as I understand, should just be replaced by np.exceptions.VisibleDeprecationWarning, and also on the next line from
When importing allesfitter, numpy raises the error that np.VisibleDeprecationWarning on line 29 doesn't exist
As far as I understand, should just be replaced by np.exceptions.VisibleDeprecationWarning, and also on the next line from
to
from https://numpy.org/doc/stable/reference/generated/numpy.exceptions.VisibleDeprecationWarning.html