Not able to install on python 3.10 with pip

### Describe the bug

```
Windows 11
Python 3.10.4
pip installed
```
I'm not able to resolve dependencies issue while trying to install scikit-learn below the error output i get:

```bash
(InstallK) C:\Users\XXXXXXX>pip install scikit-learn
Collecting scikit-learn
  Using cached scikit-learn-1.1.2.tar.gz (7.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]
      Collecting setuptools<60.0
        Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
      Collecting wheel
        Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
      Collecting Cython>=0.28.5
        Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
      Collecting oldest-supported-numpy
        Using cached oldest_supported_numpy-2022.8.16-py3-none-any.whl (3.9 kB)
      Collecting scipy>=1.3.2
        Using cached scipy-1.9.1.tar.gz (42.0 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'error'
        error: subprocess-exited-with-error

        pip subprocess to install build dependencies did not run successfully.
        exit code: 1

        [34 lines of output]
        Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.9" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
        Ignoring numpy: markers 'platform_machine == "loongarch64"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64" and platform_machine != "loongarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.9" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "loongarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.11" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version >= "3.12"' don't match your environment
        Ignoring numpy: markers 'python_version >= "3.8" and platform_python_implementation == "PyPy"' don't match your environment
        Collecting meson-python>=0.8.1
          Using cached meson_python-0.10.0-py3-none-any.whl (18 kB)
        Collecting meson==0.62.2
          Using cached meson-0.62.2-py3-none-any.whl (864 kB)
        Collecting Cython<3.0,>=0.29.21
          Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
        Collecting pybind11<2.11.0,>=2.4.3
          Using cached pybind11-2.10.0-py3-none-any.whl (213 kB)
        Collecting pythran<0.12.0,>=0.9.12
          Using cached pythran-0.11.0-py3-none-any.whl (4.2 MB)
        Collecting wheel<0.38.0
          Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
        Collecting numpy==1.22.3
          Using cached numpy-1.22.3-cp310-cp310-win32.whl (12.2 MB)
        ERROR: Cannot install numpy==1.21.6 and numpy==1.22.3 because these package versions have conflicting dependencies.

        The conflict is caused by:
            The user requested numpy==1.22.3
            The user requested numpy==1.21.6

        To fix this you could try to:
        1. loosen the range of package versions you've specified
        2. remove package versions to allow pip attempt to solve the dependency conflict

        ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: subprocess-exited-with-error

      pip subprocess to install build dependencies did not run successfully.
      exit code: 1

      See above for output.

      note: This error originates from a subprocess, and is likely not a problem with pip.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
```

### Steps/Code to Reproduce

```bash
(InstallK) C:\Users\XXXXXXX>pip install scikit-learn
Collecting scikit-learn
  Using cached scikit-learn-1.1.2.tar.gz (7.0 MB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [63 lines of output]
      Collecting setuptools<60.0
        Using cached setuptools-59.8.0-py3-none-any.whl (952 kB)
      Collecting wheel
        Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
      Collecting Cython>=0.28.5
        Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
      Collecting oldest-supported-numpy
        Using cached oldest_supported_numpy-2022.8.16-py3-none-any.whl (3.9 kB)
      Collecting scipy>=1.3.2
        Using cached scipy-1.9.1.tar.gz (42.0 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'error'
        error: subprocess-exited-with-error

        pip subprocess to install build dependencies did not run successfully.
        exit code: 1

        [34 lines of output]
        Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.9" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
        Ignoring numpy: markers 'platform_machine == "loongarch64"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64" and platform_machine != "loongarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.9" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "loongarch64" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version == "3.11" and platform_python_implementation != "PyPy"' don't match your environment
        Ignoring numpy: markers 'python_version >= "3.12"' don't match your environment
        Ignoring numpy: markers 'python_version >= "3.8" and platform_python_implementation == "PyPy"' don't match your environment
        Collecting meson-python>=0.8.1
          Using cached meson_python-0.10.0-py3-none-any.whl (18 kB)
        Collecting meson==0.62.2
          Using cached meson-0.62.2-py3-none-any.whl (864 kB)
        Collecting Cython<3.0,>=0.29.21
          Using cached Cython-0.29.32-py2.py3-none-any.whl (986 kB)
        Collecting pybind11<2.11.0,>=2.4.3
          Using cached pybind11-2.10.0-py3-none-any.whl (213 kB)
        Collecting pythran<0.12.0,>=0.9.12
          Using cached pythran-0.11.0-py3-none-any.whl (4.2 MB)
        Collecting wheel<0.38.0
          Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
        Collecting numpy==1.22.3
          Using cached numpy-1.22.3-cp310-cp310-win32.whl (12.2 MB)
        ERROR: Cannot install numpy==1.21.6 and numpy==1.22.3 because these package versions have conflicting dependencies.

        The conflict is caused by:
            The user requested numpy==1.22.3
            The user requested numpy==1.21.6

        To fix this you could try to:
        1. loosen the range of package versions you've specified
        2. remove package versions to allow pip attempt to solve the dependency conflict

        ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
        [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: subprocess-exited-with-error

      pip subprocess to install build dependencies did not run successfully.
      exit code: 1

      See above for output.

      note: This error originates from a subprocess, and is likely not a problem with pip.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
```

### Expected Results

To have scikit-learn install on python 3.10

### Actual Results

successful installation output

### Versions

```shell
scikit-learn-1.1.2
```

COMMENT:
There's two issues here.

(1) @VincentHk6 is using 32-bit Python 3.10, and scikit-learn nor SciPy provide wheels for 32-bit in their latest releases. 32-bit Python is more or less obsolete, the best solution here is for users to get rid of it and install 64-bit Python. 

The error message could be more helpful, but unfortunately that's nontrivial. We can't break building 32-bit from source, but what would be helpful is a big warning message printed at the top of the build log by both SciPy and scikit-learn. @glemaitre @cmarmo WDYT?

(2) the second issue is that SciPy >=1.9.2 has a higher minimum NumPy version (1.22.3) for Python 3.10 than scikit-learn (1.21.6). This is necessary for SciPy to be able to build with Mingw-w64. And the scikit-learn build asks for both at the same time. 

This is actually a Pip bug technically, because it looks like when SciPy is built from source, it is reusing the scikit-learn isolated build env, rather than creating its own just to build SciPy, and then installing the SciPy wheel into the scikit-learn build env.

The workaround is to do something like this in the scikit-learn `pyproject.toml`:
```
requires = [
  oldest-supported-numpy; not (python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'"),
  "numpy==1.22.3; python_version=='3.10' and platform_system=='Windows' and platform_python_implementation != 'PyPy'",
```
Note that I didn't test the first expression, it may need a tweak for the `not (...)`. The second one is taken from SciPy's pyproject.toml

Labels: Bug