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
from lifelines import (
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/lifelines/init.py:4: in
from lifelines.fitters.weibull_fitter import WeibullFitter
/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/lifelines/fitters/init.py:21: in
from scipy.integrate import trapz
E ImportError: cannot import name 'trapz' from 'scipy.integrate' (/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/scipy/integrate/init.py)
The text was updated successfully, but these errors were encountered:
Zethson
changed the title
E ImportError: cannot import name 'trapz' from 'scipy.integrate' with scipy pre-release
ImportError: cannot import name 'trapz' from 'scipy.integrate' with scipy pre-release
Jun 16, 2024
with the scipy pre-release version
scipy.integrate.trapz, scipy.integrate.cumtrapz, and scipy.integrate.simps have been deprecated in favour of scipy.integrate.trapezoid, scipy.integrate.cumulative_trapezoid, and scipy.integrate.simpson respectively and will be removed in SciPy 1.14.
The text was updated successfully, but these errors were encountered: