Installing on Windows 10: wheel not being downloaded

New Python user here. I’m trying to install wxpython and expecting that the appropriate wheel will be downloaded. Instead, it results in a build attempt. This fails because of missing C++ compiler. But I don’t really want to build it locally.

This is what I have done:

Installed Python 3.10.0

python -m venv robot_env
robot_env\Scripts\activate
pip install wxPython

The output is:

ERROR: Command errored out with exit status 1:
   command: 'C:\Users\USERNAME\python_venv\robot_env\Scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\USERNAME\\AppData\\Local\\Temp\\pip-install-ke_y98c4\\wxpython_1bacd2e4dbee4e248ffcd85d878ace88\\setup.py'"'"'; __file__='"'"'C:\\Users\\USERNAME\\AppData\\Local\\Temp\\pip-install-ke_y98c4\\wxpython_1bacd2e4dbee4e248ffcd85d878ace88\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\USERNAME\AppData\Local\Temp\pip-wheel-zd2he5xe'
       cwd: C:\Users\USERNAME\AppData\Local\Temp\pip-install-ke_y98c4\wxpython_1bacd2e4dbee4e248ffcd85d878ace88\
  Complete output (49 lines):
  C:\Users\USERNAME\python_venv\robot_env\lib\site-packages\setuptools\dist.py:697: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead
    warnings.warn(
  running bdist_wheel
  running build
  C:\Users\USERNAME\AppData\Local\Temp\pip-install-ke_y98c4\wxpython_1bacd2e4dbee4e248ffcd85d878ace88\build.py:41: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    from distutils.dep_util import newer, newer_group
  Will build using: "C:\Users\USERNAME\python_venv\robot_env\Scripts\python.exe"
  3.10.0 (tags/v3.10.0:b494f59, Oct  4 2021, 19:00:18) [MSC v.1929 64 bit (AMD64)]
  Python's architecture is 64bit
  cfg.VERSION: 4.1.1

  Running command: build
  Running command: build_wx
... many more lines

Please use e.g. Python 3.9.
There’s no wheel for 3.10 yet: wxPython · PyPI

Thank you Dietmar!

When will we get the wheel for 3.10version?