Build Error: setuptools 58.3.0 for Python 3.9.6 on Windows

Looking for help with this package that is failing to build in my project.

Runtime Details

  • ActiveState
  • Language - python 3.9.6
  • Platform - Windows

Failing Packages

  • setuptools 58.3.0

This is my first experience with Komodo,mwhich I want tousefor a standar javascript/phpproject. Incorporating setuptools seems tofail repeatedly. Ewhat should I do?

Hello, I was browsing and saw your post so I thought I would test the runtime myself:

TL;DR I found myself in a very similar situation as you. Downgrading from setuptools 58.3.0 to 58.2.0 allowed my project to build successfully! On Platform I was able to click ā€œEdit your Runtimeā€ for setuptools which allowed me to choose from a selection of prior versions. I chose the 2nd-to-latest. The build is successful for my test but perhaps you have other dependencies in play. Hope this helps!

https://platform.activestate.com/nruddick/Test-Project/distributions?platformID=78977bc8-0f32-519d-80f3-9043f059398c&branch=main

setuptools 58.3.0 Failed

Here are the other installed packages I have:

  • |bzip2|1.0.8|
  • |ffi|3.3
  • |lzma|5.2.4|
  • |openssl|1.11.0.12|
  • |python|3.9.6|
  • |python-module-build-support|1.00|
  • |sqlite3|3.36.0|
  • |tcltktix|8.6.10|
  • |toml|0.10.2|
  • |wheel|0.37.0|
  • |win32-installer|1.00|
  • |zlib|1.2.11|
Connecting...
Downloading builder for c7d72a3c-946d-5aff-a626-3f6363cd0ff9 from s3://platform-sources/builder/e42e908febd8f7d32c0ff32ba3638e6e071329d4ff981611775dbf4b5bf7b1f2/python-module-builder.tar.gz
Downloading s3://platform-sources/builder/e42e908febd8f7d32c0ff32ba3638e6e071329d4ff981611775dbf4b5bf7b1f2/python-module-builder.tar.gz to C:\Users\ContainerAdministrator\AppData\Local\Temp\python-module-builder.tar.gz...
Validating C:\Users\ContainerAdministrator\AppData\Local\Temp\python-module-builder.tar.gz against checksum e42e908febd8f7d32c0ff32ba3638e6e071329d4ff981611775dbf4b5bf7b1f2...
Builder downloaded and unpacked.
Downloading ingredient c7d72a3c-946d-5aff-a626-3f6363cd0ff9 from s3://platform-sources/data-acquisition/b0c2461641b58fe30e11d4c3dfba316c513bdf9ec85f9fed0c871c678447205e/setuptools-58.3.0.tar.gz
Downloading s3://platform-sources/data-acquisition/b0c2461641b58fe30e11d4c3dfba316c513bdf9ec85f9fed0c871c678447205e/setuptools-58.3.0.tar.gz to C:\Users\ContainerAdministrator\AppData\Local\Temp\setuptools-58.3.0.tar.gz...
Validating C:\Users\ContainerAdministrator\AppData\Local\Temp\setuptools-58.3.0.tar.gz against checksum b0c2461641b58fe30e11d4c3dfba316c513bdf9ec85f9fed0c871c678447205e...
Sources downloaded and unpacked.
No patches required, skipping patching...
Patching handled.

details skipped to save space

Unpacking dependency @s3://platform-sources/builder/5953af453233a1bb804e5574ac679ee3068246b64650214ff2f05186231aadc5/setuptools-builder-lib.tar.gz
Downloading s3://platform-sources/builder/5953af453233a1bb804e5574ac679ee3068246b64650214ff2f05186231aadc5/setuptools-builder-lib.tar.gz to C:\cache\c51106bb-db76-542c-b257-49a0e4871568\setuptools-builder-lib.tar.gz...

Dependencies downloaded and unpacked.
Executing builder command C:\builds\builders\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\build.bat --build-backend setuptools.build_meta:__legacy__
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.3
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt;C:\Program Files (x86)\Intel\oneAPI\compiler\2021.2.0\windows\compiler\include\intel64_win;C:\builds\deps\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\installdir\include
set LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Intel\oneAPI\compiler\2021.2.0\windows\compiler\lib\intel64_win;C:\builds\deps\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\installdir\lib
set LIB=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\lib\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64;C:\Program Files (x86)\Intel\oneAPI\compiler\2021.2.0\windows\compiler\lib\intel64_win;C:\builds\deps\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\installdir\lib
set DESTDIR=C:\builds\outputs\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\installdir
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'bdist_wheel'
Build complete.
Archiving output...
No files were produced as a result of this build.
Uploading CHECKSUM -> s3://as-builds/production/language/python/setuptools/58.3.0/1/c7d72a3c-946d-5aff-a626-3f6363cd0ff9/CHECKSUM
Uploading artifact.tar.gz -> s3://as-builds/production/language/python/setuptools/58.3.0/1/c7d72a3c-946d-5aff-a626-3f6363cd0ff9/artifact.tar.gz
Uploading C:\builds\meta\c7d72a3c-946d-5aff-a626-3f6363cd0ff9\exitcode -> s3://as-builds/production/language/python/setuptools/58.3.0/1/c7d72a3c-946d-5aff-a626-3f6363cd0ff9/exitcode
4 Likes