ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Protobuf

    Protocol Buffers - Google's data interchange format

  • "WARNING: The candidate selected for download or install is a yanked version: 'protobuf' candidate (version 4.21.0 at https://files.pythonhosted.org/packages/27/82/986065ef305c0989c99d8ef3f29e58a03fac6e64bb2c36ffe64500cc6955/protobuf-4.21.0-py3-none-any.whl#sha256=4e78116673ba04e01e563f6a9cca2c72db0be8a3e1629094816357e81cc39d36 (from https://pypi.org/simple/protobuf/))Reason for being yanked: Required python version not configured correctly (https://github.com/protocolbuffers/protobuf/issues/10076) ERROR: Command errored out with exit status 1: command: 'C:\Users\Ronan\anaconda3\envs\simswap\python.exe' 'C:\Users\Ronan\anaconda3\envs\simswap\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\Ronan\AppData\Local\Temp\tmpw07qbvdv' cwd: C:\Users\Ronan\AppData\Local\Temp\pip-install-5thcmr2x\onnx_8a3edc28ae1c47d3acd6186fffcf7bdb Complete output (70 lines): running bdist_wheel running build running build_py running create_version running cmake_build Using cmake args: ['C:\\Program Files\\CMake\\bin\\cmake.exe', '-DPYTHON_INCLUDE_DIR=C:\\Users\\Ronan\\anaconda3\\envs\\simswap\\include', '-DPYTHON_EXECUTABLE=C:\\Users\\Ronan\\anaconda3\\envs\\simswap\\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp36-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.6', '-A', 'x64', '-T', 'host=x64', '-DONNX_ML=1', 'C:\\Users\\Ronan\\AppData\\Local\\Temp\\pip-install-5thcmr2x\\onnx_8a3edc28ae1c47d3acd6186fffcf7bdb'] -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:17 (project): Generator NMake Makefiles does not support platform specification, but platform x64 was specified.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts