received ImportError: cannot import name '_deprecate_Xt_in_inverse_transform' from 'sklearn.utils.deprecation'

### Describe the bug

When I'm importing KMeans from sklearn.cluster, I received this import error saying that cannot import name '_deprecate_Xt_in_inverse_transform' from 'sklearn.utils.deprecation'
Currently I'm using the latest version for sklearn and Python 3.10.

### Steps/Code to Reproduce

`from sklearn.cluster import KMeans`

### Expected Results

NO ERROR

### Actual Results

```
	"name": "ImportError",
	"message": "cannot import name '_deprecate_Xt_in_inverse_transform' from 'sklearn.utils.deprecation' (/.../lib/python3.10/site-packages/sklearn/utils/deprecation.py)",
	"stack": "---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[251], line 3
      1 import numpy as np
      2 import matplotlib.pyplot as plt
----> 3 from sklearn.cluster import KMeans
      4 from sklearn.decomposition import PCA
      5 from mpl_toolkits.mplot3d import Axes3D

File ~/.../lib/python3.10/site-packages/sklearn/cluster/__init__.py:7
      1 \"\"\"
      2 The :mod:`sklearn.cluster` module gathers popular unsupervised clustering
      3 algorithms.
      4 \"\"\"
      6 from ._affinity_propagation import AffinityPropagation, affinity_propagation
----> 7 from ._agglomerative import (
      8     AgglomerativeClustering,
      9     FeatureAgglomeration,
     10     linkage_tree,
     11     ward_tree,
     12 )
     13 from ._bicluster import SpectralBiclustering, SpectralCoclustering
     14 from ._birch import Birch

File ~/.../lib/python3.10/site-packages/sklearn/cluster/_agglomerative.py:42
     40 # mypy error: Module 'sklearn.cluster' has no attribute '_hierarchical_fast'
     41 from . import _hierarchical_fast as _hierarchical  # type: ignore
---> 42 from ._feature_agglomeration import AgglomerationTransform
     44 ###############################################################################
     45 # For non fully-connected graphs
     48 def _fix_connectivity(X, connectivity, affinity):

File ~/ ... /lib/python3.10/site-packages/sklearn/cluster/_feature_agglomeration.py:15
     13 from ..base import TransformerMixin
     14 from ..utils import metadata_routing
---> 15 from ..utils.deprecation import _deprecate_Xt_in_inverse_transform
     16 from ..utils.validation import check_is_fitted
     18 ###############################################################################
     19 # Mixin class for feature agglomeration.

ImportError: cannot import name '_deprecate_Xt_in_inverse_transform' from 'sklearn.utils.deprecation' (/.../lib/python3.10/site-packages/sklearn/utils/deprecation.py)"
```

### Versions

```shell
Name: scikit-learn
Version: 1.5.0
```

COMMENT:
I am going to close this issue since this is unlikely a problem in scikit-learn. Instead it is quite likely that something is wrong in your environment.

If I were you I would try to create a new environment from scratch and install scikit-learn. If you still get the issue, please post the list of command you ran to create your environment and install scikit-learn!

Labels: Bug, Needs Triage