Answer the question
In order to leave comments, you need to log in
How to download win32gui on Windows 11 with Python 3.10?
I have Windows 11 with Python 3.10.0, pip 22.0.4. pywin32
:
Name: pywin32
Version: 303
Summary: Python for Window Extensions
Home-page: https://github.com/mhammond/pywin32
Author: Mark Hammond (et al)
Author-email: [email protected]
License: PSF
Location: c:\users\errma\appdata\roaming\python\python310\site-packages
Requires:
Required-by:
pip install win32gui
:...
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "C:\Users\errma\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "C:\Users\errma\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\errma\AppData\Roaming\Python\Python310\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 130, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\errma\AppData\Local\Temp\pip-build-env-7g6azkbv\overlay\Lib\site-packages\setuptools\build_meta.py", line 177, in get_requires_for_build_wheel
return self._get_build_requires(
File "C:\Users\errma\AppData\Local\Temp\pip-build-env-7g6azkbv\overlay\Lib\site-packages\setuptools\build_meta.py", line 159, in _get_build_requires
self.run_setup()
File "C:\Users\errma\AppData\Local\Temp\pip-build-env-7g6azkbv\overlay\Lib\site-packages\setuptools\build_meta.py", line 281, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\errma\AppData\Local\Temp\pip-build-env-7g6azkbv\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 27, in <module>
from win32.distutils.gui import win32gui_build_ext
File "C:\Users\errma\AppData\Local\Temp\pip-install-q1m1y_iy\win32gui_1bbf420bae6242c6b9530a842796097b\win32\distutils\gui.py", line 6, in <module>
from .command import win32_build_ext
ModuleNotFoundError: No module named 'win32.distutils.command'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel 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.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question