Build in windows failed #2

Open
opened 2026-10-26 03:38:58 +01:00 by adam · 1 comment
Owner

Below is the error i got building in windows

Creating virtual environment at: .venv
Resolved 28 packages in 730ms
Built pymeshcoregui @ file:///C:/PyMeshCoreGUI-master error: Failed to build winrt-windows-devices-radios==3.2.1
cause: The build backend returned an error
cause: Call to setuptools.build_meta.build_wheel failed (exit code: 1)

     [stdout]
     running bdist_wheel
     running build
     running build_py
     creating build\lib.win-amd64-cpython-315\winrt\windows\devices\radios
     copying winrt\windows\devices\radios\__init__.py -> build\lib.win-amd64-cpython-315\winrt\windows\devices\radios
     running egg_info
     writing winrt_Windows.Devices.Radios.egg-info\PKG-INFO
     writing dependency_links to winrt_Windows.Devices.Radios.egg-info\dependency_links.txt
     writing requirements to winrt_Windows.Devices.Radios.egg-info\requires.txt
     writing top-level names to winrt_Windows.Devices.Radios.egg-info\top_level.txt
     reading manifest file 'winrt_Windows.Devices.Radios.egg-info\SOURCES.txt'
     writing manifest file 'winrt_Windows.Devices.Radios.egg-info\SOURCES.txt'
     copying winrt\_winrt_windows_devices_radios.pyi -> build\lib.win-amd64-cpython-315\winrt
     copying winrt\windows\devices\radios\py.typed -> build\lib.win-amd64-cpython-315\winrt\windows\devices\radios
     running build_ext
     building 'winrt._winrt_windows_devices_radios' extension

     [stderr]
     error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools":
     https://visualstudio.microsoft.com/visual-cpp-build-tools/

hint: winrt-windows-devices-radios (v3.2.1) was included because pymeshcoregui (v0.1.0) depends on meshcore (v2.3.15) which depends on bleak (v3.0.2) which depends on winrt-windows-devices-radios

hint: Build failures usually indicate a problem with the package or the build environment

not sure why its saying Visual c++ needs to be installed as the 14 version is already installed

Thanks,

Below is the error i got building in windows Creating virtual environment at: .venv Resolved 28 packages in 730ms Built pymeshcoregui @ file:///C:/PyMeshCoreGUI-master error: Failed to build `winrt-windows-devices-radios==3.2.1` cause: The build backend returned an error cause: Call to `setuptools.build_meta.build_wheel` failed (exit code: 1) [stdout] running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-315\winrt\windows\devices\radios copying winrt\windows\devices\radios\__init__.py -> build\lib.win-amd64-cpython-315\winrt\windows\devices\radios running egg_info writing winrt_Windows.Devices.Radios.egg-info\PKG-INFO writing dependency_links to winrt_Windows.Devices.Radios.egg-info\dependency_links.txt writing requirements to winrt_Windows.Devices.Radios.egg-info\requires.txt writing top-level names to winrt_Windows.Devices.Radios.egg-info\top_level.txt reading manifest file 'winrt_Windows.Devices.Radios.egg-info\SOURCES.txt' writing manifest file 'winrt_Windows.Devices.Radios.egg-info\SOURCES.txt' copying winrt\_winrt_windows_devices_radios.pyi -> build\lib.win-amd64-cpython-315\winrt copying winrt\windows\devices\radios\py.typed -> build\lib.win-amd64-cpython-315\winrt\windows\devices\radios running build_ext building 'winrt._winrt_windows_devices_radios' extension [stderr] error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ hint: `winrt-windows-devices-radios` (v3.2.1) was included because `pymeshcoregui` (v0.1.0) depends on `meshcore` (v2.3.15) which depends on `bleak` (v3.0.2) which depends on `winrt-windows-devices-radios` hint: Build failures usually indicate a problem with the package or the build environment not sure why its saying Visual c++ needs to be installed as the 14 version is already installed Thanks, <!-- github-sync-id:5784505440 -->
Author
Owner

Does this also happen with uv run as per readme?

Does this also happen with `uv run` as per readme? <!-- github-comment-id:6090244581 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/PyMeshCoreGUI#2