k_means clustering: AttributeError: 'NoneType' object has no attribute 'split'

### Describe the bug

k_means is broken and systematically throws an ```AttributeError: 'NoneType' object has no attribute 'split'``` no matter what kind of input I give. I have Python 3.10, numpy 1.24.3 scikit-learn 1.2.1 and threadpoolctl 3.1.0
The problem seems to be not only linked to k_means since the same error arises when I do ```sklearn.show_versions()```

### Steps/Code to Reproduce

from sklearn.cluster import KMeans
import numpy as np

km = KMeans(2)
test_data = np.array([[0.5, 0.5], [-0.5, -0.5], [-0.5, -0.5], [0.5, 0.5]])
km.fit(test_data)
km.labels_


### Expected Results

>>> array([0, 1, 1, 0], dtype=int32)

### Actual Results

```Traceback (most recent call last):

  Cell In[4], line 1
    km.fit(np.random.rand(16, 2))

  File ~\anaconda3\lib\site-packages\sklearn\cluster\_kmeans.py:1455 in fit
    self._check_mkl_vcomp(X, X.shape[0])

  File ~\anaconda3\lib\site-packages\sklearn\cluster\_kmeans.py:911 in _check_mkl_vcomp
    modules = threadpool_info()

  File ~\anaconda3\lib\site-packages\sklearn\utils\fixes.py:150 in threadpool_info
    return threadpoolctl.threadpool_info()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:124 in threadpool_info
    return _ThreadpoolInfo(user_api=_ALL_USER_APIS).todicts()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:340 in __init__
    self._load_modules()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:373 in _load_modules
    self._find_modules_with_enum_process_module_ex()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:485 in _find_modules_with_enum_process_module_ex
    self._make_module_from_path(filepath)

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:515 in _make_module_from_path
    module = module_class(filepath, prefix, user_api, internal_api)

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:606 in __init__
    self.version = self.get_version()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:646 in get_version
    config = get_config().split()

AttributeError: 'NoneType' object has no attribute 'split'```

### Versions

```shell
System:
    python: 3.10.9 | packaged by Anaconda, Inc. | (main, Mar  1 2023, 18:18:15) [MSC v.1916 64 bit (AMD64)]
executable: C:\Users\Corentin offline\anaconda3\python.exe
   machine: Windows-10-10.0.22621-SP0

Python dependencies:
      sklearn: 1.2.1
          pip: 22.3.1
   setuptools: 65.6.3
        numpy: 1.24.0
        scipy: 1.10.0
       Cython: None
       pandas: 1.5.3
   matplotlib: 3.7.0
       joblib: 1.1.1
threadpoolctl: 2.2.0

Built with OpenMP: True
Traceback (most recent call last):

  Cell In[14], line 1
    sklearn.show_versions()

  File ~\anaconda3\lib\site-packages\sklearn\utils\_show_versions.py:99 in show_versions
    threadpool_results = threadpool_info()

  File ~\anaconda3\lib\site-packages\sklearn\utils\fixes.py:150 in threadpool_info
    return threadpoolctl.threadpool_info()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:124 in threadpool_info
    return _ThreadpoolInfo(user_api=_ALL_USER_APIS).todicts()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:340 in __init__
    self._load_modules()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:373 in _load_modules
    self._find_modules_with_enum_process_module_ex()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:485 in _find_modules_with_enum_process_module_ex
    self._make_module_from_path(filepath)

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:515 in _make_module_from_path
    module = module_class(filepath, prefix, user_api, internal_api)

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:606 in __init__
    self.version = self.get_version()

  File ~\anaconda3\lib\site-packages\threadpoolctl.py:646 in get_version
    config = get_config().split()

AttributeError: 'NoneType' object has no attribute 'split'
```

COMMENT:
Update `threadpoolctl` to the latest 3.2.0 version.
Duplicate of https://github.com/scikit-learn/scikit-learn/issues/27183#issuecomment-1695178756

Labels: Bug, Needs Triage