Category "deprecation-warning"

Deprecation Warnings: Distutils and netcdf_file

I get two deprecation warnings whenever I try running any python code. They are: DeprecationWarning: distutils Version classes are deprecated. Use packaging.ver

python warnings.filterwarnings does not ignore DeprecationWarning from 'import sklearn.ensemble'

I am trying to silence the DeprecationWarning with the following method. import warnings warnings.filterwarnings(action='ignore') from sklearn.ensemble import