File ~\AppData\Local\spyder-6-1\envs\spyder-runtime\Lib\site-packages\spyder_kernels\customize\utils.py:209 in exec_encapsulate_locals
exec_fun(compile(code_ast, filename, "exec"), globals)
File d:\experiments\untitled1.py:12
from scipy.integrate import trapz
ImportError: cannot import name 'trapz' from 'scipy.integrate' (C:\Users\Karmugilan\AppData\Local\spyder-6-1\envs\spyder-runtime\Lib\site-packages\scipy\integrate__init__.py)
Description
What steps will reproduce the problem?
Traceback (most recent call last):
File ~\AppData\Local\spyder-6-1\envs\spyder-runtime\Lib\site-packages\spyder_kernels\customize\utils.py:209 in exec_encapsulate_locals exec_fun(compile(code_ast, filename, "exec"), globals)
File d:\experiments\untitled1.py:12 from scipy.integrate import trapz
ImportError: cannot import name 'trapz' from 'scipy.integrate' (C:\Users\Karmugilan\AppData\Local\spyder-6-1\envs\spyder-runtime\Lib\site-packages\scipy\integrate__init__.py)
Versions
Dependencies